Apache log4cxx
Version 0.10.0
|
Public Member Functions | |
MapFilter () | |
FilterDecision | decide (const spi::LoggingEventPtr &event) const |
![]() | |
Filter () | |
void | addRef () const |
void | releaseRef () const |
log4cxx::spi::FilterPtr | getNext () const |
void | setNext (const log4cxx::spi::FilterPtr &newNext) |
void | activateOptions (log4cxx::helpers::Pool &p) |
Usually filters options become active when set. More... | |
void | setOption (const LogString &option, const LogString &value) |
Set option to value . More... | |
![]() | |
virtual | ~OptionHandler () |
![]() | |
virtual const helpers::Class & | getClass () const |
virtual | ~Object () |
virtual bool | instanceof (const Class &clazz) const =0 |
virtual const void * | cast (const Class &clazz) const =0 |
![]() | |
ObjectImpl () | |
virtual | ~ObjectImpl () |
Additional Inherited Members | |
![]() | |
enum | FilterDecision { DENY = -1, NEUTRAL = 0, ACCEPT = 1 } |
![]() | |
static const helpers::Class & | getStaticClass () |
static const log4cxx::helpers::ClassRegistration & | registerClass () |
![]() | |
unsigned int volatile | ref |
MapFilter | ( | ) |
|
virtual |
If the decision is DENY
, then the event will be dropped. If the decision is NEUTRAL
, then the next filter, if any, will be invoked. If the decision is ACCEPT then the event will be logged without consulting with other filters in the chain.
event | The LoggingEvent to decide upon. |
Implements Filter.