java.lang.Object
io.opentelemetry.instrumentation.logback.appender.v1_0.internal.LoggingEventMapper

public final class LoggingEventMapper extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Constructor Summary

    Constructors
    Constructor
    Description
    LoggingEventMapper(boolean captureExperimentalAttributes, List<String> captureMdcAttributes, boolean captureCodeAttributes, boolean captureMarkerAttribute, boolean captureKeyValuePairAttributes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    emit(io.opentelemetry.api.logs.LoggerProvider loggerProvider, ch.qos.logback.classic.spi.ILoggingEvent event)
     
    static io.opentelemetry.api.common.AttributeKey<String>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LoggingEventMapper

      public LoggingEventMapper(boolean captureExperimentalAttributes, List<String> captureMdcAttributes, boolean captureCodeAttributes, boolean captureMarkerAttribute, boolean captureKeyValuePairAttributes)
  • Method Details

    • emit

      public void emit(io.opentelemetry.api.logs.LoggerProvider loggerProvider, ch.qos.logback.classic.spi.ILoggingEvent event)
    • getMdcAttributeKey

      public static io.opentelemetry.api.common.AttributeKey<String> getMdcAttributeKey(String key)