public class DelegatingAppender<T>
extends ch.qos.logback.core.AppenderBase<T>
DelegatingAppender
is an SLF4J Appender
that delegates to the configured Appender
.
If no Appender
was configured, then the DelegatingAppender
delegates to the NOPAppender
.Appender
,
AppenderBase
,
NOPAppender
Modifier and Type | Field and Description |
---|---|
protected static ch.qos.logback.core.Appender |
DEFAULT_APPENDER |
protected static java.lang.String |
DEFAULT_NAME |
Constructor and Description |
---|
DelegatingAppender() |
Modifier and Type | Method and Description |
---|---|
protected void |
append(T eventObject) |
protected ch.qos.logback.core.Appender<T> |
getAppender() |
void |
setAppender(ch.qos.logback.core.Appender<T> appender) |
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, start, stop, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
protected static final ch.qos.logback.core.Appender DEFAULT_APPENDER
protected static final java.lang.String DEFAULT_NAME