Package ch.qos.logback.classic.turbo
Class TurboFilter
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.classic.turbo.TurboFilter
-
- All Implemented Interfaces:
ContextAware
,LifeCycle
- Direct Known Subclasses:
DuplicateMessageFilter
,DynamicThresholdFilter
,MatchingFilter
,ReconfigureOnChangeFilter
@Deprecated(since="2022-01-27") public abstract class TurboFilter extends ContextAwareBase implements LifeCycle
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.TurboFilter is a specialized filter with a decide method that takes a bunch of parameters instead of a single event object. The latter is cleaner but the first is much more performant.For more information about turbo filters, please refer to the online manual at http://logback.qos.ch/manual/filters.html#TurboFilter
-
-
Constructor Summary
Constructors Constructor Description TurboFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract FilterReply
decide(Marker marker, Logger logger, Level level, java.lang.String format, java.lang.Object[] params, java.lang.Throwable t)
Deprecated.Make a decision based on the multiple parameters passed as arguments.java.lang.String
getName()
Deprecated.boolean
isStarted()
Deprecated.void
setName(java.lang.String name)
Deprecated.void
start()
Deprecated.void
stop()
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 abstract FilterReply decide(Marker marker, Logger logger, Level level, java.lang.String format, java.lang.Object[] params, java.lang.Throwable t)
Deprecated.Make a decision based on the multiple parameters passed as arguments. The returned value should be one of
,FilterReply.DENY
, orFilterReply.NEUTRAL
.FilterReply.ACCEPT
- Parameters:
marker
-logger
-level
-format
-params
-t
-- Returns:
-
getName
public java.lang.String getName()
Deprecated.
-
setName
public void setName(java.lang.String name)
Deprecated.
-
-