public class OnErrorEvaluator extends EventEvaluatorBase<ILoggingEvent>
Constructor and Description |
---|
OnErrorEvaluator() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(ILoggingEvent event)
Return true if event passed as parameter has level ERROR or higher, returns
false otherwise.
|
getName, isStarted, setName, start, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public boolean evaluate(ILoggingEvent event) throws java.lang.NullPointerException, EvaluationException
event
- The event to evaluatejava.lang.NullPointerException
- can be thrown in presence of null valuesEvaluationException
- may be thrown during faulty evaluationCopyright © 2010 - 2020 Adobe. All Rights Reserved