src/main/java/com/arpnetworking/logback/serialization/steno/SafeSerializationHelper.java
public static Map<String, Object> createSafeContext(
            final StenoEncoder encoder,
            final ILoggingEvent event,
            final ObjectMapper objectMapper) {
        return createSafeContext(encoder, event, objectMapper, Collections.emptyList(), Collections.emptyList());
    }
public static Map<String, Object> createSafeContext(
            final StenoEncoder encoder,
            final ILoggingEvent event,
            final ObjectMapper objectMapper) {
        return createSafeContext(encoder, event, objectMapper, Collections.emptyList(), Collections.emptyList());
    }
Create a serialization safe context based on the <code>StenoEncoder</code> configuration.

@since 1.11.2
@param encoder The <code>StenoEncoder</code> instance.
@param event The <code>ILoggingEvent</code> instance.
@param objectMapper <code>ObjectMapper</code> instance.
@return <code>Map</code> with event context.