Package ch.qos.logback.classic.boolex
Class OnMarkerEvaluator
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.boolex.EventEvaluatorBase<ILoggingEvent>
-
- ch.qos.logback.classic.boolex.OnMarkerEvaluator
-
- All Implemented Interfaces:
EventEvaluator<ILoggingEvent>,ContextAware,LifeCycle
@Deprecated(since="2022-01-27") public class OnMarkerEvaluator extends EventEvaluatorBase<ILoggingEvent>
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Evaluates to true when the logging event passed as parameter contains one of the user-specified markers.
-
-
Constructor Summary
Constructors Constructor Description OnMarkerEvaluator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddMarker(java.lang.String markerStr)Deprecated.booleanevaluate(ILoggingEvent event)Deprecated.Return true if event passed as parameter contains one of the specified user-markers.-
Methods inherited from class ch.qos.logback.core.boolex.EventEvaluatorBase
getName, isStarted, setName, start, stop
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
-
-
Method Detail
-
addMarker
public void addMarker(java.lang.String markerStr)
Deprecated.
-
evaluate
public boolean evaluate(ILoggingEvent event) throws java.lang.NullPointerException, EvaluationException
Deprecated.Return true if event passed as parameter contains one of the specified user-markers.- Parameters:
event- The event to evaluate- Returns:
- true if there is a match, false otherwise.
- Throws:
java.lang.NullPointerException- can be thrown in presence of null valuesEvaluationException- may be thrown during faulty evaluation
-
-