log4cplus
2.0.7
|
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. More... | |
![]() | |
Filter () | |
virtual | ~Filter () |
void | appendFilter (FilterPtr filter) |
Appends filter to the end of this filter chain. More... | |
![]() | |
void | addReference () const LOG4CPLUS_NOEXCEPT |
void | removeReference () const |
Additional Inherited Members | |
![]() | |
FilterPtr | next |
Points to the next filter in the filter chain. More... | |
![]() | |
thread::Mutex | access_mutex |
![]() | |
SharedObject () | |
SharedObject (const SharedObject &) | |
SharedObject (SharedObject &&) | |
virtual | ~SharedObject () |
SharedObject & | operator= (const SharedObject &) LOG4CPLUS_NOEXCEPT |
SharedObject & | operator= (SharedObject &&) LOG4CPLUS_NOEXCEPT |
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.
log4cplus::spi::DenyAllFilter::DenyAllFilter | ( | ) |
log4cplus::spi::DenyAllFilter::DenyAllFilter | ( | const log4cplus::helpers::Properties & | ) |
|
virtual |
Always returns the DENY regardless of the InternalLoggingEvent parameter.
Implements log4cplus::spi::Filter.