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.
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. |
|
|
|
|
|
Always returns the integer constant DENY regardless of the LoggingEvent parameter.
Implements Filter. |