# Class LoggerFilterDenyAll

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.

An example for this filter:

{@example ../../examples/php/filter_denyall.php 19}

The corresponding XML file:

{@example ../../examples/resources/filter_denyall.xml 18}

  LoggerConfigurable
  LoggerFilter
  LoggerFilterDenyAll

Package: log4php\filters
Version: $Revision: 883108 $
Since: 0.3
Located at filters/LoggerFilterDenyAll.php

Methods summary
`public `LoggerFilter::DENY`` | # `decide( `LoggerLoggingEvent` $event )` Always returns the integer constant `LoggerFilter::DENY` regardless of the `LoggerLoggingEvent` parameter. Always returns the integer constant `LoggerFilter::DENY` regardless of the `LoggerLoggingEvent` parameter. #### Parameters $event ``LoggerLoggingEvent`` $event The `LoggerLoggingEvent` to filter. #### Returns ``LoggerFilter::DENY`` Always returns `LoggerFilter::DENY` #### Overrides `LoggerFilter::decide()`

Methods inherited from LoggerFilter
`activateOptions(), addNext(), getNext()`

Methods inherited from LoggerConfigurable
`setBoolean(), setFileSize(), setInteger(), setLevel(), setNumeric(), setPositiveInteger(), setString(), warn()`

Constants inherited from LoggerFilter
`ACCEPT, DENY, NEUTRAL`

Properties inherited from LoggerFilter
`$next`