Package ch.qos.logback.classic.filter
Class ThresholdFilter
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.filter.Filter<ILoggingEvent>
-
- ch.qos.logback.classic.filter.ThresholdFilter
-
- All Implemented Interfaces:
ContextAware,LifeCycle
@Deprecated(since="2022-01-27") public class ThresholdFilter extends Filter<ILoggingEvent>
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Filters events below the threshold level. Events with a level below the specified level will be denied, while events with a level equal or above the specified level will trigger a FilterReply.NEUTRAL result, to allow the rest of the filter chain process the event. For more information about filters, please refer to the online manual at http://logback.qos.ch/manual/filters.html#thresholdFilter
-
-
Constructor Summary
Constructors Constructor Description ThresholdFilter()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FilterReplydecide(ILoggingEvent event)Deprecated.If the decision is, then the event will be dropped.FilterReply.DENYvoidsetLevel(String level)Deprecated.voidstart()Deprecated.-
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:FilterIf 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.NEUTRALthen the event will be logged without consulting with other filters in the chain.FilterReply.ACCEPT- Specified by:
decidein classFilter<ILoggingEvent>- Parameters:
event- The event to decide upon.
-
setLevel
public void setLevel(String level)
Deprecated.
-
start
public void start()
Deprecated.- Specified by:
startin interfaceLifeCycle- Overrides:
startin classFilter<ILoggingEvent>
-
-