Package org.apache.log4j.spi
Interface TriggeringEventEvaluator
-
public interface TriggeringEventEvaluatorImplementions of this interface allow certain appenders to decide when to perform an appender specific action.For example the
SMTPAppendersends an email when theisTriggeringEvent(org.apache.log4j.spi.LoggingEvent)method returnstrueand adds the event to an internal buffer when the returned result isfalse.- Since:
- version 1.0
- Author:
- Ceki Gülcü
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisTriggeringEvent(LoggingEvent event)Is this the triggering event?
-
-
-
Method Detail
-
isTriggeringEvent
boolean isTriggeringEvent(LoggingEvent event)
Is this the triggering event?
-
-