public abstract class AbstractAppender<E> extends Object implements ch.qos.logback.core.Appender<E>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAppender() |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(String msg) |
void |
addError(String msg,
Throwable ex) |
void |
addFilter(ch.qos.logback.core.filter.Filter<E> newFilter) |
void |
addInfo(String msg) |
void |
addInfo(String msg,
Throwable ex) |
void |
addStatus(ch.qos.logback.core.status.Status status) |
void |
addWarn(String msg) |
void |
addWarn(String msg,
Throwable ex) |
protected abstract void |
append(E event) |
void |
clearAllFilters() |
void |
doAppend(E eventObject) |
ch.qos.logback.core.Context |
getContext() |
List<ch.qos.logback.core.filter.Filter<E>> |
getCopyOfAttachedFiltersList() |
protected Object |
getDeclaredOrigin() |
ch.qos.logback.core.spi.FilterReply |
getFilterChainDecision(E event) |
String |
getName() |
ch.qos.logback.core.status.StatusManager |
getStatusManager() |
boolean |
isStarted() |
void |
setContext(ch.qos.logback.core.Context context) |
void |
setName(String name) |
void |
start() |
void |
stop() |
String |
toString() |
public void setName(String name)
setName in interface ch.qos.logback.core.Appender<E>public ch.qos.logback.core.Context getContext()
getContext in interface ch.qos.logback.core.spi.ContextAwarepublic void setContext(ch.qos.logback.core.Context context)
setContext in interface ch.qos.logback.core.spi.ContextAwarepublic ch.qos.logback.core.status.StatusManager getStatusManager()
protected final Object getDeclaredOrigin()
public void addStatus(ch.qos.logback.core.status.Status status)
addStatus in interface ch.qos.logback.core.spi.ContextAwarepublic void addInfo(String msg)
addInfo in interface ch.qos.logback.core.spi.ContextAwarepublic void addInfo(String msg, Throwable ex)
addInfo in interface ch.qos.logback.core.spi.ContextAwarepublic void addWarn(String msg)
addWarn in interface ch.qos.logback.core.spi.ContextAwarepublic void addWarn(String msg, Throwable ex)
addWarn in interface ch.qos.logback.core.spi.ContextAwarepublic void addError(String msg)
addError in interface ch.qos.logback.core.spi.ContextAwarepublic void addError(String msg, @Nullable Throwable ex)
addError in interface ch.qos.logback.core.spi.ContextAwarepublic void addFilter(ch.qos.logback.core.filter.Filter<E> newFilter)
addFilter in interface ch.qos.logback.core.spi.FilterAttachable<E>public void clearAllFilters()
clearAllFilters in interface ch.qos.logback.core.spi.FilterAttachable<E>public List<ch.qos.logback.core.filter.Filter<E>> getCopyOfAttachedFiltersList()
getCopyOfAttachedFiltersList in interface ch.qos.logback.core.spi.FilterAttachable<E>public ch.qos.logback.core.spi.FilterReply getFilterChainDecision(E event)
getFilterChainDecision in interface ch.qos.logback.core.spi.FilterAttachable<E>public void start()
start in interface ch.qos.logback.core.spi.LifeCyclepublic void stop()
stop in interface ch.qos.logback.core.spi.LifeCyclepublic boolean isStarted()
isStarted in interface ch.qos.logback.core.spi.LifeCyclepublic void doAppend(E eventObject)
doAppend in interface ch.qos.logback.core.Appender<E>Copyright © 2015 Zalando SE. All rights reserved.