Apache Log4cxx  Version 1.3.1
Loading...
Searching...
No Matches
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 ~Object ()
 
virtual const helpers::ClassgetClass () 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.

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: