public class FilterAdapter extends AbstractFilter
AbstractFilter.AbstractFilterBuilder<B extends AbstractFilter.AbstractFilterBuilder<B>>Filter.ResultLifeCycle.StateonMatch, onMismatchDEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGERELEMENT_TYPE, EMPTY_ARRAY| Constructor and Description |
|---|
FilterAdapter(Filter filter) |
| Modifier and Type | Method and Description |
|---|---|
Filter.Result |
filter(LogEvent event)
Context Filter method.
|
void |
start() |
equalsImpl, filter, filter, filter, filter, filter, filter, filter, filter, filter, filter, filter, filter, filter, getOnMatch, getOnMismatch, hashCodeImpl, toStringgetState, getStatusLogger, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop, stoppublic FilterAdapter(Filter filter)
public void start()
start in interface LifeCyclestart in class AbstractLifeCyclepublic Filter.Result filter(LogEvent event)
AbstractFilterfilter in interface Filterfilter in class AbstractFilterevent - The LogEvent.Copyright © 1999-2022 The 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.