类 LogbackPatternConverter

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.LogbackPatternConverter
所有已实现的接口:
ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

public class LogbackPatternConverter 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 "TID: N/A" to the output message, if SkyWalking agent in active mode, return the real traceId 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
  • 构造器详细资料

    • LogbackPatternConverter

      public LogbackPatternConverter()
  • 方法详细资料

    • convert

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