类 SkyWalkingContextJsonProvider
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
net.logstash.logback.composite.AbstractJsonProvider<Event>
net.logstash.logback.composite.AbstractFieldJsonProvider<ch.qos.logback.classic.spi.ILoggingEvent>
org.apache.skywalking.apm.toolkit.log.logback.v1.x.logstash.SkyWalkingContextJsonProvider
- 所有已实现的接口:
ch.qos.logback.core.spi.ContextAware,ch.qos.logback.core.spi.LifeCycle,net.logstash.logback.composite.FieldNamesAware<net.logstash.logback.fieldnames.LogstashFieldNames>,net.logstash.logback.composite.JsonProvider<ch.qos.logback.classic.spi.ILoggingEvent>
public class SkyWalkingContextJsonProvider
extends net.logstash.logback.composite.AbstractFieldJsonProvider<ch.qos.logback.classic.spi.ILoggingEvent>
implements net.logstash.logback.composite.FieldNamesAware<net.logstash.logback.fieldnames.LogstashFieldNames>
-
字段概要
字段从类继承的字段 ch.qos.logback.core.spi.ContextAwareBase
context -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getSkyWalkingContext(ch.qos.logback.classic.spi.ILoggingEvent event) voidsetFieldNames(net.logstash.logback.fieldnames.LogstashFieldNames fieldNames) voidwriteTo(com.fasterxml.jackson.core.JsonGenerator generator, ch.qos.logback.classic.spi.ILoggingEvent event) 从类继承的方法 net.logstash.logback.composite.AbstractFieldJsonProvider
getFieldName, setFieldName从类继承的方法 net.logstash.logback.composite.AbstractJsonProvider
isStarted, prepareForDeferredProcessing, start, stop从类继承的方法 ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
字段详细资料
-
SKYWALKING_CONTEXT
- 另请参阅:
-
-
构造器详细资料
-
SkyWalkingContextJsonProvider
public SkyWalkingContextJsonProvider()
-
-
方法详细资料
-
writeTo
public void writeTo(com.fasterxml.jackson.core.JsonGenerator generator, ch.qos.logback.classic.spi.ILoggingEvent event) throws IOException - 指定者:
writeTo在接口中net.logstash.logback.composite.JsonProvider<ch.qos.logback.classic.spi.ILoggingEvent>- 抛出:
IOException
-
setFieldNames
public void setFieldNames(net.logstash.logback.fieldnames.LogstashFieldNames fieldNames) - 指定者:
setFieldNames在接口中net.logstash.logback.composite.FieldNamesAware<net.logstash.logback.fieldnames.LogstashFieldNames>
-
getSkyWalkingContext
-