package Default

 Methods

Filter logging by $priority. By default, it will accept any log event whose priority value is less than or equal to $priority.

__construct(integer|array|\Traversable $priority, string $operator = null) : \Zend\Log\Filter\Priority

Parameters

$priority

integerarray\Traversable

Priority

$operator

string

Comparison operator

Exceptions

\Zend\Log\Exception\InvalidArgumentException

Returns

\Zend\Log\Filter\Priority

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?

 Properties

 

$operator

$operator : string

Default

 

$priority

$priority : integer

Default