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.
|
Filter |
getFilter()
Gets the actual filter.
|
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 Filter.Result filter(LogEvent event)
AbstractFilterfilter in interface Filterfilter in class AbstractFilterevent - The LogEvent.public Filter getFilter()
public void start()
start in interface LifeCyclestart in class AbstractLifeCycleCopyright © 1999-2021 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.