public interface TriggeringEventEvaluator
For example the SMTPAppender
sends
an email when the isTriggeringEvent(org.apache.log4j.spi.LoggingEvent)
method returns
true
and adds the event to an internal buffer when the
returned result is false
.
Modifier and Type | Method | Description |
---|---|---|
boolean |
isTriggeringEvent(LoggingEvent event) |
Is this the triggering event?
|
boolean isTriggeringEvent(LoggingEvent event)
Copyright 2000-2007 Apache Software Foundation.