Apache log4cxx  Version 0.11.0
log4cxx::spi::TriggeringEventEvaluator Class Referenceabstract

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

#include <triggeringeventevaluator.h>

Inheritance diagram for log4cxx::spi::TriggeringEventEvaluator:
log4cxx::helpers::Object

Public Member Functions

virtual bool isTriggeringEvent (const spi::LoggingEventPtr &event)=0
 Is this the triggering event?
 
- Public Member Functions inherited from log4cxx::helpers::Object
virtual void addRef () const =0
 
virtual void releaseRef () const =0
 
virtual bool instanceof (const Class &clazz) const =0
 
virtual const void * cast (const Class &clazz) const =0
 

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.


The documentation for this class was generated from the following file: