Apache log4cxx  Version 0.13.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? More...
 
- Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
 
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.

Member Function Documentation

◆ isTriggeringEvent()

virtual bool log4cxx::spi::TriggeringEventEvaluator::isTriggeringEvent ( const spi::LoggingEventPtr event)
pure virtual

Is this the triggering event?


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