log4cplus
1.1.0
|
This filter drops all logging events. More...
#include <filter.h>
Public Member Functions | |
DenyAllFilter () | |
DenyAllFilter (const log4cplus::helpers::Properties &) | |
virtual FilterResult | decide (const InternalLoggingEvent &event) const |
Always returns the DENY regardless of the InternalLoggingEvent 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.
virtual FilterResult log4cplus::spi::DenyAllFilter::decide | ( | const InternalLoggingEvent & | event | ) | const [virtual] |
Always returns the DENY regardless of the InternalLoggingEvent parameter.
Implements log4cplus::spi::Filter.