src/main/java/com/arpnetworking/logback/serialization/steno/SafeSerializationHelper.java
static void safeEncodeLogValueMap(
            final StringBuilder encoder,
            final LogValueMapFactory.LogValueMap logValueMap) {
        final Map<String, Object> safeLogValueMap = new LinkedHashMap<>();
        final Optional<Object> target = logValueMap.getTarget();
        safeLogValueMap.put("_id", target.isPresent() ? Integer.toHexString(System.identityHashCode(target.get())) : null);
        safeLogValueMap.put("_class", target.isPresent() ? target.get().getClass().getName() : null);
        safeEncodeValue(encoder, safeLogValueMap);
    }
static void safeEncodeLogValueMap(
            final StringBuilder encoder,
            final LogValueMapFactory.LogValueMap logValueMap) {
        final Map<String, Object> safeLogValueMap = new LinkedHashMap<>();
        final Optional<Object> target = logValueMap.getTarget();
        safeLogValueMap.put("_id", target.isPresent() ? Integer.toHexString(System.identityHashCode(target.get())) : null);
        safeLogValueMap.put("_class", target.isPresent() ? target.get().getClass().getName() : null);
        safeEncodeValue(encoder, safeLogValueMap);
    }
static void safeEncodeLogValueMap ( final StringBuilder encoder , final LogValueMapFactory . LogValueMap logValueMap ) { final Map < String , Object > safeLogValueMap = new LinkedHashMap <> ( ) ; final Optional < Object > target = logValueMap . getTarget ( ) ; safeLogValueMap . put ( "_id" , target . isPresent ( ) ? Integer . toHexString ( System . identityHashCode ( target . get ( ) ) ) : null ) ; safeLogValueMap . put ( "_class" , target . isPresent ( ) ? target . get ( ) . getClass ( ) . getName ( ) : null ) ; safeEncodeValue ( encoder , safeLogValueMap ) ; }
/* package private
/ * package private