TriggeringEventEvaluator (Apache Log4j 1.2.17 API)
Date: 2012-05-06

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.log4j.spi
Interface TriggeringEventEvaluator

    public interface TriggeringEventEvaluator

Implementions of this interface allow certain appenders to decide when to perform an appender specific action.

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`.

Since:
  version 1.0
Author:
  Ceki Gülcü

Method Summary
`boolean` | `isTriggeringEvent(LoggingEvent event)` Is this the triggering event?

Method Detail

### isTriggeringEvent

    boolean isTriggeringEvent(LoggingEvent event)

  Is this the triggering event?

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.