Package ch.qos.logback.classic.boolex
Class OnErrorEvaluator
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.boolex.EventEvaluatorBase<ILoggingEvent>
ch.qos.logback.classic.boolex.OnErrorEvaluator
- All Implemented Interfaces:
EventEvaluator<ILoggingEvent>,ContextAware,LifeCycle
@Deprecated(since="2022-01-27")
public class OnErrorEvaluator
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 has level ERROR
or higher.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluate(ILoggingEvent event) Deprecated.Return true if event passed as parameter has level ERROR or higher, returns false otherwise.Methods inherited from class ch.qos.logback.core.boolex.EventEvaluatorBase
getName, isStarted, setName, start, stopMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContextMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
OnErrorEvaluator
public OnErrorEvaluator()Deprecated.
-
-
Method Details
-
evaluate
Deprecated.Return true if event passed as parameter has level ERROR or higher, returns false otherwise.- Parameters:
event- The event to evaluate- Returns:
- true if there is a match, false otherwise.
- Throws:
NullPointerException- can be thrown in presence of null valuesEvaluationException- may be thrown during faulty evaluation
-