Class ExternalApiLogSupport
java.lang.Object
org.chenile.core.external.ExternalApiLogSupport
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final tools.jackson.databind.ObjectMapperprivate final ExternalApiPropertiesprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyCommon(LogRecord record, ExternalApiDirection direction, String system, String operation, Map<String, ?> headers) voidapplyError(LogRecord record, Throwable throwable) private voidcopyHeaders(LogRecord record, Map<String, ?> headers) private Stringprivate String
-
Field Details
-
TRUNCATED_SUFFIX
- See Also:
-
properties
-
objectMapper
private final tools.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
ExternalApiLogSupport
-
-
Method Details
-
applyCommon
-
payload
-
applyError
-
copyHeaders
-
header
-
truncate
-