Public Member Functions | |
MapFilter () | |
FilterDecision | decide (const spi::LoggingEventPtr &event) const |
MapFilter | ( | ) |
FilterDecision decide | ( | const spi::LoggingEventPtr & | event | ) | const [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.