## Class LoggerFilterDenyAll

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.

<p> An example for this filter:

<p> The corresponding XML file:

- version: $Revision: 883108 $
- since: 0.3

Located in /log4php/filters/LoggerFilterDenyAll.php (line 44)

    LoggerConfigurable
       |
       --LoggerFilter
          |
          --LoggerFilterDenyAll

Method Summary
LoggerFilter::DENY decide (LoggerLoggingEvent $event)
Variables

#### Inherited Variables

Inherited from LoggerFilter

> LoggerFilter::$next

Methods
decide (line 53)

Always returns the integer constant LoggerFilter::DENY regardless of the LoggerLoggingEvent parameter.

- return: Always returns LoggerFilter::DENY
- access: public

LoggerFilter::DENY decide (LoggerLoggingEvent $event)

- LoggerLoggingEvent $event: The LoggerLoggingEvent to filter.

Redefinition of:

LoggerFilter::decide()
  Decide what to do.

#### Inherited Methods

Inherited From LoggerFilter

> LoggerFilter::activateOptions()
> LoggerFilter::addNext()
> LoggerFilter::decide()
> LoggerFilter::getNext()

Inherited From LoggerConfigurable

> LoggerConfigurable::setBoolean()
> LoggerConfigurable::setFileSize()
> LoggerConfigurable::setInteger()
> LoggerConfigurable::setLevel()
> LoggerConfigurable::setNumeric()
> LoggerConfigurable::setPositiveInteger()
> LoggerConfigurable::setString()
> LoggerConfigurable::warn()

Class Constants

#### Inherited Constants

Inherited from LoggerFilter

> LoggerFilter::ACCEPT
> LoggerFilter::DENY
> LoggerFilter::NEUTRAL

Documentation generated on Mon, 02 Feb 2026 13:59:50 +0900 by phpDocumentor 1.4.4