|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.boolex.EventEvaluatorBase<ILoggingEvent>
ch.qos.logback.classic.boolex.OnMarkerEvaluator
public class OnMarkerEvaluator
Evaluates to true when the logging event passed as parameter contains one of the user-specified markers.
Field Summary |
---|
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase |
---|
context |
Constructor Summary | |
---|---|
OnMarkerEvaluator()
|
Method Summary | |
---|---|
void |
addMarker(java.lang.String markerStr)
|
boolean |
evaluate(ILoggingEvent event)
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, getDeclaredOrigin, getStatusManager, setContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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 |
Constructor Detail |
---|
public OnMarkerEvaluator()
Method Detail |
---|
public void addMarker(java.lang.String markerStr)
public boolean evaluate(ILoggingEvent event) throws java.lang.NullPointerException, EvaluationException
event
- The event to evaluate
java.lang.NullPointerException
- can be thrown in presence of null values
EvaluationException
- may be thrown during faulty evaluation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |