类 LogbackSkyWalkingContextPatternConverter

java.lang.Object
ch.qos.logback.core.pattern.Converter<E>
ch.qos.logback.core.pattern.FormattingConverter<E>
ch.qos.logback.core.pattern.DynamicConverter<ch.qos.logback.classic.spi.ILoggingEvent>
ch.qos.logback.classic.pattern.ClassicConverter
org.apache.skywalking.apm.toolkit.log.logback.v1.x.LogbackSkyWalkingContextPatternConverter
所有已实现的接口:
ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

public class LogbackSkyWalkingContextPatternConverter extends ch.qos.logback.classic.pattern.ClassicConverter
  • 字段概要

    从类继承的字段 ch.qos.logback.core.pattern.DynamicConverter

    started
  • 构造器概要

    构造器
  • 方法概要

    修饰符和类型
    方法
    说明
    convert(ch.qos.logback.classic.spi.ILoggingEvent iLoggingEvent)
    As default, return "SW_CTX: N/A" to the output message, if SkyWalking agent in active mode, return the real SkyWalking context in the recent Context, if existed.

    从类继承的方法 ch.qos.logback.core.pattern.DynamicConverter

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, start, stop

    从类继承的方法 ch.qos.logback.core.pattern.FormattingConverter

    getFormattingInfo, setFormattingInfo, write

    从类继承的方法 ch.qos.logback.core.pattern.Converter

    getNext, setNext

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • LogbackSkyWalkingContextPatternConverter

      public LogbackSkyWalkingContextPatternConverter()
  • 方法详细资料

    • convert

      public String convert(ch.qos.logback.classic.spi.ILoggingEvent iLoggingEvent)
      As default, return "SW_CTX: N/A" to the output message, if SkyWalking agent in active mode, return the real SkyWalking context in the recent Context, if existed.
      指定者:
      convert 在类中 ch.qos.logback.core.pattern.Converter<ch.qos.logback.classic.spi.ILoggingEvent>
      参数:
      iLoggingEvent - the event
      返回:
      the SkyWalking context: N/A, or the real SkyWalking context.