TriggeringEventEvaluator Class Reference

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

Inherits log4cxx::helpers::Object.

List of all members.

Classes

class  ClazzTriggeringEventEvaluator

Public Member Functions

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

Static Public Member Functions

static const helpers::ClassgetStaticClass ()
static const
log4cxx::helpers::ClassRegistration
registerClass ()

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 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.


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