log4cplus_spi_DenyAllFilter(3)

log4cplus::spi::DenyAllFilter(3) log4cplus log4cplus::spi::DenyAllFilter(3)

NAME

log4cplus::spi::DenyAllFilter - This filter drops all logging events.

SYNOPSIS

#include <filter.h>

Inherits log4cplus::spi::Filter.

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.

Additional Inherited Members

Detailed Description

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.

Definition at line 150 of file filter.h.

Constructor & Destructor Documentation

log4cplus::spi::DenyAllFilter::DenyAllFilter ()

log4cplus::spi::DenyAllFilter::DenyAllFilter (const log4cplus::helpers::Properties &)

Member Function Documentation

virtual FilterResult log4cplus::spi::DenyAllFilter::decide (const InternalLoggingEvent & event) const [virtual]

Always returns the DENY regardless of the InternalLoggingEvent parameter.

Implements log4cplus::spi::Filter.

Author

Generated automatically by Doxygen for log4cplus from the source code.

Fri Jun 18 2021 Version 2.0.6