public class OnMarkerEvaluator extends EventEvaluatorBase<ILoggingEvent>
Constructor and Description |
---|
OnMarkerEvaluator() |
Modifier and Type | Method and Description |
---|---|
void |
addMarker(java.lang.String markerStr) |
boolean |
evaluate(ILoggingEvent event)
Return true if event passed as parameter contains one of the specified
user-markers.
|
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 void addMarker(java.lang.String markerStr)
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