public interface TriggeringEventEvaluator
For example, the org.apache.log4j.net.SMTPAppender
sends an email when the
isTriggeringEvent(LoggingEvent)
method returns true
and adds the event to an internal buffer when
the returned result is false
.
Modifier and Type | Method and Description |
---|---|
boolean |
isTriggeringEvent(LoggingEvent event)
Tests if this the triggering event.
|
boolean isTriggeringEvent(LoggingEvent event)
event
- The vent to test.Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.