public class LogbackSkyWalkingContextPatternConverter
extends ch.qos.logback.classic.pattern.ClassicConverter
| Constructor and Description |
|---|
LogbackSkyWalkingContextPatternConverter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, start, stoppublic LogbackSkyWalkingContextPatternConverter()
public 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 - the eventCopyright © 2022 The Apache Software Foundation. All rights reserved.