category Zend
package Zend_Log
subpackage Filter
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
version $Id$
inherited_from \Zend_Log_Filter_Abstract

 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
Static

Parameters

$config

array\Zend_Config

Exceptions

\Zend_Log_Exception

Returns

\Zend_Log_Filter_Suppress

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
InheritedStatic

Parameters

$config

array\Zend_Config

Zend_Config or Array

Exceptions

\Zend_Log_Exception

Returns

array

 Properties

 

$_accept

$_accept : boolean

Default

true