org.apache.log.filter
public abstract class AbstractFilterTarget extends Object implements FilterTarget, LogTarget
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
|
Parameters: target the target
Parameters: event the event
Returns: return true to discard event, false otherwise
Parameters: event the log event