Class AppenderControl
java.lang.Object
org.apache.logging.log4j.core.AbstractLifeCycle
org.apache.logging.log4j.core.filter.AbstractFilterable
org.apache.logging.log4j.core.config.AppenderControl
- All Implemented Interfaces:
Filterable, LifeCycle, LifeCycle2
Wraps an
Appender with details an appender implementation shouldn't need to know about.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractFilterable
AbstractFilterable.Builder<B>Nested classes/interfaces inherited from interface LifeCycle
LifeCycle.State -
Field Summary
Fields inherited from class AbstractLifeCycle
DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcallAppender(LogEvent event) Call the appender.booleanReturns the Appender.Returns the name the appender had when this AppenderControl was constructed.inthashCode()toString()Methods inherited from class AbstractFilterable
addFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, start, stop, stopMethods inherited from class AbstractLifeCycle
equalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop
-
Constructor Details
-
AppenderControl
-
-
Method Details
-
getAppenderName
Returns the name the appender had when this AppenderControl was constructed.- Returns:
- the appender name
-
getAppender
-
callAppender
Call the appender.- Parameters:
event- The event to process.
-
equals
-
hashCode
-
toString
-