category Zend
package Zend_Log
subpackage Filter

 Methods

This is a simple boolean filter.

__construct(int | array | \Zend\Log\Filter\Traversable $suppress) 

Parameters

$suppress

intarray\Zend\Log\Filter\Traversable

Exceptions

\Zend\Log\Exception\InvalidArgumentException

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

filter(array $event) : bool

Parameters

$event

array

event data

Returns

boolaccepted?

This is a simple boolean filter.

suppress(bool $suppress) : void

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

Parameters

$suppress

bool

Should all log events be suppressed?

 Properties

 

$accept

$accept : bool