Class TracingAppender<E>
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<E>
com.evolveum.midpoint.util.logging.TracingAppender<E>
- All Implemented Interfaces:
ch.qos.logback.core.Appender<E>,ch.qos.logback.core.spi.ContextAware,ch.qos.logback.core.spi.FilterAttachable<E>,ch.qos.logback.core.spi.LifeCycle
public class TracingAppender<E>
extends ch.qos.logback.core.AppenderBase<E>
Collects log entries e.g. for tracing purposes in midPoint.
It sends log lines to an instance of
LoggingEventSink that has been set up for the current thread.-
Field Summary
Fields inherited from class ch.qos.logback.core.AppenderBase
name, startedFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidch.qos.logback.core.Layout<E>static voidvoidstatic voidsetSink(LoggingEventSink sink) Methods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, start, stop, toStringMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
TracingAppender
public TracingAppender()
-
-
Method Details
-
append
- Specified by:
appendin classch.qos.logback.core.AppenderBase<E>
-
getLayout
-
setLayout
-
removeSink
public static void removeSink() -
setSink
-