package Default

 Methods

This is a simple boolean filter.

__construct(integer|array|\Traversable $suppress = false

Parameters

$suppress

integerarray\Traversable

Exceptions

\Zend\Log\Exception\InvalidArgumentException

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

filter(array $event) : boolean
inherited_from \Zend\Log\Filter\FilterInterface::filter()

Parameters

$event

array

event data

Returns

booleanaccepted?

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?

 Properties

 

$accept

$accept : boolean

Default

true