Apache log4cxx  Version 0.10.0
DenyAllFilter Class Reference

This filter drops all logging events. More...

Inheritance diagram for DenyAllFilter:
Filter OptionHandler ObjectImpl Object Object

List of all members.

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.

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.


Member Typedef Documentation


Constructor & Destructor Documentation

DenyAllFilter ( ) [inline]

Member Function Documentation

FilterDecision decide ( const spi::LoggingEventPtr ) const [inline, virtual]

Always returns the integer constant DENY regardless of the LoggingEvent parameter.

Parameters:
eventThe LoggingEvent to filter.
Returns:
Always returns DENY.

Implements Filter.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines