Apache log4cxx  Version 0.10.0
TriggeringEventEvaluator Class Reference

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

Inheritance diagram for TriggeringEventEvaluator:
Object

List of all members.

Public Member Functions

virtual bool isTriggeringEvent (const spi::LoggingEventPtr &event)=0
 Is this the triggering event?

Detailed Description

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 method returns true and adds the event to an internal buffer when the returned result is false.


Member Function Documentation

virtual bool isTriggeringEvent ( const spi::LoggingEventPtr event) [pure virtual]

Is this the triggering event?


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines