Package ch.qos.logback.classic.filter
Class LevelFilter
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.filter.Filter<E>
-
- ch.qos.logback.core.filter.AbstractMatcherFilter<ILoggingEvent>
-
- ch.qos.logback.classic.filter.LevelFilter
-
- All Implemented Interfaces:
ContextAware
,LifeCycle
@Deprecated(since="2022-01-27") public class LevelFilter extends AbstractMatcherFilter<ILoggingEvent>
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.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
-
-
Constructor Summary
Constructors Constructor Description LevelFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FilterReply
decide(ILoggingEvent event)
Deprecated.If the decision is
, then the event will be dropped.FilterReply.DENY
void
setLevel(Level level)
Deprecated.void
start()
Deprecated.-
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, getStatusManager, setContext
-
-
-
-
Method Detail
-
decide
public FilterReply decide(ILoggingEvent event)
Deprecated.Description copied from class:Filter
If the decision is
, then the event will be dropped. If the decision isFilterReply.DENY
, then the next filter, if any, will be invoked. If the decision isFilterReply.NEUTRAL
then the event will be logged without consulting with other filters in the chain.FilterReply.ACCEPT
- Specified by:
decide
in classFilter<ILoggingEvent>
- Parameters:
event
- The event to decide upon.
-
setLevel
public void setLevel(Level level)
Deprecated.
-
start
public void start()
Deprecated.- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classFilter<ILoggingEvent>
-
-