Package ch.qos.logback.classic.filter
Class LevelFilter
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.filter.Filter<ILoggingEvent>
ch.qos.logback.core.filter.AbstractMatcherFilter<ILoggingEvent>
ch.qos.logback.classic.filter.LevelFilter
- All Implemented Interfaces:
ContextAware
,LifeCycle
A class that filters events by the level equality.
For more information about this filter, please refer to the online manual at http://logback.qos.ch/manual/filters.html#levelFilter
- Author:
- Ceki Gülcü, Sébastien Pennec
-
Field Summary
Fields inherited from class ch.qos.logback.core.filter.AbstractMatcherFilter
onMatch, onMismatch
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.qos.logback.core.filter.AbstractMatcherFilter
getOnMatch, getOnMismatch, setOnMatch, setOnMismatch
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
LevelFilter
public LevelFilter()
-
-
Method Details
-
decide
- Specified by:
decide
in classFilter<ILoggingEvent>
-
setLevel
-
start
public void start()- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classFilter<ILoggingEvent>
-