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>
Used to collect log entries for tracing purposes.
-
-
Constructor Summary
Constructors Constructor Description TracingAppender()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
append(E eventObject)
static void
closeCurrentSink()
ch.qos.logback.core.Layout<E>
getLayout()
static void
openSink(LoggingEventCollector collector)
void
setLayout(ch.qos.logback.core.Layout<E> layout)
static void
terminateCollecting()
-
Methods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, start, stop, toString
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
-
-
-
Method Detail
-
append
protected void append(E eventObject)
- Specified by:
append
in classch.qos.logback.core.AppenderBase<E>
-
getLayout
public ch.qos.logback.core.Layout<E> getLayout()
-
setLayout
public void setLayout(ch.qos.logback.core.Layout<E> layout)
-
terminateCollecting
public static void terminateCollecting()
-
openSink
public static void openSink(LoggingEventCollector collector)
-
closeCurrentSink
public static void closeCurrentSink()
-
-