Filterable, LifeCycle, LifeCycle2public class AppenderControl extends AbstractFilterable
Appender with details an appender implementation shouldn't need to know about.AbstractFilterable.Builder<B extends AbstractFilterable.Builder<B>>LifeCycle.StateDEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER| Constructor | Description |
|---|---|
AppenderControl(Appender appender,
Level level,
Filter filter) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
callAppender(LogEvent event) |
Call the appender.
|
boolean |
equals(Object obj) |
|
Appender |
getAppender() |
Returns the Appender.
|
String |
getAppenderName() |
Returns the name the appender had when this AppenderControl was constructed.
|
int |
hashCode() |
|
String |
toString() |
addFilter, getFilter, hasFilter, isFiltered, removeFilter, start, stop, stopequalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stoppublic String getAppenderName()
public Appender getAppender()
public void callAppender(LogEvent event)
event - The event to process.Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.