public interface Appender<E> extends LifeCycle, ContextAware, FilterAttachable<E>
| Modifier and Type | Method and Description |
|---|---|
void |
doAppend(E event)
This is where an appender accomplishes its work.
|
String |
getName()
Get the name of this appender.
|
void |
setName(String name)
Set the name of this appender.
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextaddFilter, clearAllFilters, getCopyOfAttachedFiltersList, getFilterChainDecisionString getName()
void doAppend(E event) throws LogbackException
event - the log eventLogbackExceptionvoid setName(String name)
name - desired appender nameCopyright © 2005–2014 QOS.ch. All rights reserved.