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()setCaptureArguments(boolean captureArguments) setCaptureCodeAttributes(boolean captureCodeAttributes) setCaptureEventName(boolean captureEventName) setCaptureExperimentalAttributes(boolean captureExperimentalAttributes) setCaptureKeyValuePairAttributes(boolean captureKeyValuePairAttributes) setCaptureLoggerContext(boolean captureLoggerContext) setCaptureLogstashAttributes(boolean captureLogstashAttributes) Deprecated.setCaptureLogstashMarkerAttributes(boolean captureLogstashMarkerAttributes) setCaptureLogstashStructuredArguments(boolean captureLogstashStructuredArguments) 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) -
setCaptureArguments
@CanIgnoreReturnValue public LoggingEventMapper.Builder setCaptureArguments(boolean captureArguments) -
setCaptureLogstashAttributes
@Deprecated @CanIgnoreReturnValue public LoggingEventMapper.Builder setCaptureLogstashAttributes(boolean captureLogstashAttributes) Deprecated.UsesetCaptureLogstashMarkerAttributes(boolean)instead. This method is deprecated and will be removed in a future release. -
setCaptureLogstashMarkerAttributes
@CanIgnoreReturnValue public LoggingEventMapper.Builder setCaptureLogstashMarkerAttributes(boolean captureLogstashMarkerAttributes) -
setCaptureLogstashStructuredArguments
@CanIgnoreReturnValue public LoggingEventMapper.Builder setCaptureLogstashStructuredArguments(boolean captureLogstashStructuredArguments) -
setCaptureEventName
@CanIgnoreReturnValue public LoggingEventMapper.Builder setCaptureEventName(boolean captureEventName) -
build
-
setCaptureLogstashMarkerAttributes(boolean)instead.