|
||||||||||
| 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.GEventEvaluator
public class GEventEvaluator
| Field Summary |
|---|
| Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase |
|---|
context |
| Constructor Summary | |
|---|---|
GEventEvaluator()
|
|
| Method Summary | |
|---|---|
boolean |
evaluate(ILoggingEvent event)
Evaluates whether the event passed as parameter matches some user-specified criteria. |
java.lang.String |
getExpression()
|
void |
setExpression(java.lang.String expression)
|
void |
start()
|
| Methods inherited from class ch.qos.logback.core.boolex.EventEvaluatorBase |
|---|
getName, isStarted, setName, 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 GEventEvaluator()
| Method Detail |
|---|
public java.lang.String getExpression()
public void setExpression(java.lang.String expression)
public void start()
start in interface LifeCyclestart in class EventEvaluatorBase<ILoggingEvent>
public boolean evaluate(ILoggingEvent event)
throws java.lang.NullPointerException,
EvaluationException
EventEvaluator
The Evaluator is free to evaluate the event as it pleases. In
particular, the evaluation results may depend on previous events.
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 | |||||||||