Class LoggingEventMapper.Builder
java.lang.Object
io.opentelemetry.instrumentation.logback.appender.v1_0.internal.LoggingEventMapper.Builder
- Enclosing class:
LoggingEventMapper
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setCaptureCodeAttributes(boolean captureCodeAttributes) setCaptureExperimentalAttributes(boolean captureExperimentalAttributes) setCaptureKeyValuePairAttributes(boolean captureKeyValuePairAttributes) setCaptureLoggerContext(boolean captureLoggerContext) setCaptureMarkerAttribute(boolean captureMarkerAttribute) setCaptureMdcAttributes(List<String> captureMdcAttributes)
-
Method Details
-
setCaptureExperimentalAttributes
@CanIgnoreReturnValue public LoggingEventMapper.Builder setCaptureExperimentalAttributes(boolean captureExperimentalAttributes) -
setCaptureMdcAttributes
@CanIgnoreReturnValue public LoggingEventMapper.Builder setCaptureMdcAttributes(List<String> captureMdcAttributes) -
setCaptureCodeAttributes
@CanIgnoreReturnValue public LoggingEventMapper.Builder setCaptureCodeAttributes(boolean captureCodeAttributes) -
setCaptureMarkerAttribute
@CanIgnoreReturnValue public LoggingEventMapper.Builder setCaptureMarkerAttribute(boolean captureMarkerAttribute) -
setCaptureKeyValuePairAttributes
@CanIgnoreReturnValue public LoggingEventMapper.Builder setCaptureKeyValuePairAttributes(boolean captureKeyValuePairAttributes) -
setCaptureLoggerContext
@CanIgnoreReturnValue public LoggingEventMapper.Builder setCaptureLoggerContext(boolean captureLoggerContext) -
build
-