Implementions of this interface allow certain appenders to decide when to perform an appender specific action. More...
Inherits log4cxx::helpers::Object.
Classes | |
class | ClazzTriggeringEventEvaluator |
Public Member Functions | |
virtual const helpers::Class & | getClass () const |
virtual bool | isTriggeringEvent (const spi::LoggingEventPtr &event)=0 |
Is this the triggering event? | |
Static Public Member Functions | |
static const helpers::Class & | getStaticClass () |
static const log4cxx::helpers::ClassRegistration & | registerClass () |
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
.
virtual const helpers::Class& getClass | ( | ) | const [virtual] |
Reimplemented from Object.
static const helpers::Class& getStaticClass | ( | ) | [static] |
Reimplemented from Object.
virtual bool isTriggeringEvent | ( | const spi::LoggingEventPtr & | event | ) | [pure virtual] |
Is this the triggering event?
static const log4cxx::helpers::ClassRegistration& registerClass | ( | ) | [static] |
Reimplemented from Object.