package Default

 Methods

Filter out any log messages not matching the validator

__construct(\Zend\Validator\ValidatorInterface|array|\Traversable $validator) : \Zend\Log\Filter\Validator

Parameters

$validator

\Zend\Validator\ValidatorInterfacearray\Traversable

Exceptions

\Zend\Log\Exception\InvalidArgumentException

Returns

\Zend\Log\Filter\Validator

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

boolean

 Properties

 

Regex to match

$validator : \Zend\Validator\ValidatorInterface

Default