|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.log.filter.AbstractFilterTarget
Abstract implementation of FilterTarget. A concrete implementation has to implement filter method.
| Constructor Summary | |
AbstractFilterTarget()
|
|
| Method Summary | |
void |
addTarget(LogTarget target)
Add a new target to output chain. |
protected abstract boolean |
filter(LogEvent event)
Filter the log event. |
void |
processEvent(LogEvent event)
Process a log event |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractFilterTarget()
| Method Detail |
public void addTarget(LogTarget target)
addTarget in interface FilterTargettarget - the targetprotected abstract boolean filter(LogEvent event)
event - the event
public void processEvent(LogEvent event)
processEvent in interface LogTargetevent - the log event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||