Class LoggingEventMapper
java.lang.Object
io.opentelemetry.instrumentation.logback.appender.v1_0.internal.LoggingEventMapper
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingEventMapper(boolean captureExperimentalAttributes, List<String> captureMdcAttributes, boolean captureCodeAttributes, boolean captureMarkerAttribute, boolean captureKeyValuePairAttributes) -
Method Summary
Modifier and TypeMethodDescriptionvoidemit(io.opentelemetry.api.logs.LoggerProvider loggerProvider, ch.qos.logback.classic.spi.ILoggingEvent event) static io.opentelemetry.api.common.AttributeKey<String>getMdcAttributeKey(String key)
-
Constructor Details
-
LoggingEventMapper
-
-
Method Details
-
emit
public void emit(io.opentelemetry.api.logs.LoggerProvider loggerProvider, ch.qos.logback.classic.spi.ILoggingEvent event) -
getMdcAttributeKey
-