类 TraceIdPatternLogbackLayout

java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.LayoutBase<E>
ch.qos.logback.core.pattern.PatternLayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>
ch.qos.logback.classic.PatternLayout
org.apache.skywalking.apm.toolkit.log.logback.v1.x.TraceIdPatternLogbackLayout
所有已实现的接口:
ch.qos.logback.core.Layout<ch.qos.logback.classic.spi.ILoggingEvent>, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

public class TraceIdPatternLogbackLayout extends ch.qos.logback.classic.PatternLayout
Based on the logback-component convert register mechanism, register LogbackPatternConverter as a new convert, match to "tid" and "sw_ctx". You can use "%tid" or "sw_ctx" in logback config file, "Pattern" section.

  • 字段概要

    从类继承的字段 ch.qos.logback.classic.PatternLayout

    defaultConverterMap, HEADER_PREFIX

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

    outputPatternAsHeader, postCompileProcessor

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

    started

    从类继承的字段 ch.qos.logback.core.spi.ContextAwareBase

    context
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    从类继承的方法 ch.qos.logback.classic.PatternLayout

    doLayout, getDefaultConverterMap, getPresentationHeaderPrefix

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

    getEffectiveConverterMap, getInstanceConverterMap, getPattern, getPresentationHeader, isOutputPatternAsHeader, setContextForConverters, setOutputPatternAsHeader, setPattern, setPostCompileProcessor, start, toString, writeLoopOnConverters

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

    getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stop

    从类继承的方法 ch.qos.logback.core.spi.ContextAwareBase

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManager

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

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    从接口继承的方法 ch.qos.logback.core.spi.ContextAware

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn
  • 构造器详细资料

    • TraceIdPatternLogbackLayout

      public TraceIdPatternLogbackLayout()