Apache log4cxx Version 0.10.0
|
This filter drops all logging events. More...
Inherits Filter.
Public Types | |
typedef spi::Filter | BASE_CLASS |
Public Member Functions | |
DenyAllFilter () | |
FilterDecision | decide (const spi::LoggingEventPtr &) const |
Always returns the integer constant DENY regardless of the LoggingEvent parameter. |
This filter drops all logging events.
You can add this filter to the end of a filter chain to switch from the default "accept all unless instructed otherwise" filtering behaviour to a "deny all unless instructed otherwise" behaviour.
typedef spi::Filter BASE_CLASS |
DenyAllFilter | ( | ) | [inline] |
FilterDecision decide | ( | const spi::LoggingEventPtr & | ) | const [inline, virtual] |
Always returns the integer constant DENY regardless of the LoggingEvent parameter.
event | The LoggingEvent to filter. |
Implements Filter.