Package ch.qos.logback.classic.turbo
Class MarkerFilter
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.classic.turbo.TurboFilter
-
- ch.qos.logback.classic.turbo.MatchingFilter
-
- ch.qos.logback.classic.turbo.MarkerFilter
-
- All Implemented Interfaces:
ContextAware
,LifeCycle
@Deprecated(since="2022-01-27") public class MarkerFilter extends MatchingFilter
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Checks whether the marker in the event matches the marker specified by the user.
-
-
Constructor Summary
Constructors Constructor Description MarkerFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.void
setMarker(java.lang.String markerStr)
Deprecated.The marker to match in the event.void
start()
Deprecated.-
Methods inherited from class ch.qos.logback.classic.turbo.MatchingFilter
setOnMatch, setOnMismatch
-
Methods inherited from class ch.qos.logback.classic.turbo.TurboFilter
getName, isStarted, setName, stop
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Method Detail
-
start
public void start()
Deprecated.- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classTurboFilter
-
decide
public FilterReply decide(Marker marker, Logger logger, Level level, java.lang.String format, java.lang.Object[] params, java.lang.Throwable t)
Deprecated.Description copied from class:TurboFilter
Make a decision based on the multiple parameters passed as arguments. The returned value should be one of
,FilterReply.DENY
, orFilterReply.NEUTRAL
.FilterReply.ACCEPT
- Specified by:
decide
in classTurboFilter
- Returns:
-
setMarker
public void setMarker(java.lang.String markerStr)
Deprecated.The marker to match in the event.- Parameters:
markerStr
-
-
-