category Zend
package Zend_Log
subpackage Filter
copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
version $Id: Suppress.php 20096 2010-01-06 02:05:09Z bkarwin $

 Methods

Returns TRUE to accept the message, FALSE to block it.

accept(array $event) : boolean

Parameters

$event

array

event data

Returns

booleanaccepted?

Create a new instance of Zend_Log_Filter_Suppress

factory(array | \Zend_Config $config) : \Zend_Log_Filter_Suppress

Parameters

$config

array\Zend_Config

Exceptions

\Zend_Log_Exception

Returns

This is a simple boolean filter.

suppress(boolean $suppress) : void

Call suppress(true) to suppress all log events. Call suppress(false) to accept all log events.

Parameters

$suppress

boolean

Should all log events be suppressed?

Validate and optionally convert the config to array

_parseConfig(array | \Zend_Config $config) : array
Inherited

inherited_from \Zend_Log_Filter_Abstract::_parseConfig()

Parameters

$config

array\Zend_Config

Zend_Config or Array

Exceptions

\Zend_Log_Exception

Returns

array

 Properties

 

$_accept

$_accept : boolean