public class LogbackPatternConverter
extends ch.qos.logback.classic.pattern.ClassicConverter
| Constructor and Description |
|---|
LogbackPatternConverter() |
| Modifier and Type | Method and Description |
|---|---|
String |
convert(ch.qos.logback.classic.spi.ILoggingEvent iLoggingEvent)
As default, return "TID: N/A" to the output message,
if sky-walking agent in active mode, return the real traceId in the recent Context, if existed.
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, start, stoppublic String convert(ch.qos.logback.classic.spi.ILoggingEvent iLoggingEvent)
convert in class ch.qos.logback.core.pattern.Converter<ch.qos.logback.classic.spi.ILoggingEvent>iLoggingEvent - Copyright © 2019 The Apache Software Foundation. All rights reserved.