|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.logging.log4j.core.filter.AbstractFilterable
org.apache.logging.log4j.core.config.AppenderControl<T>
T
- The appender's Serializable type.public class AppenderControl<T extends Serializable>
Wraps an Appender
with details an appender implementation shouldn't need to know about.
Constructor Summary | |
---|---|
AppenderControl(Appender<T> appender,
Level level,
Filter filter)
Constructor. |
Method Summary | |
---|---|
void |
callAppender(LogEvent event)
Call the appender. |
Appender<T> |
getAppender()
Returns the Appender. |
Methods inherited from class org.apache.logging.log4j.core.filter.AbstractFilterable |
---|
addFilter, getFilter, hasFilter, isFiltered, removeFilter, startFilter, stopFilter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppenderControl(Appender<T> appender, Level level, Filter filter)
appender
- The target Appender.level
- the Level to filter on.filter
- the Filter(s) to apply.Method Detail |
---|
public Appender<T> getAppender()
public void callAppender(LogEvent event)
event
- The event to process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2013 Apache Software Foundation. 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.