category Zend
package Zend_Log
subpackage Filter

 Methods

Filter out any log messages not matching the validator

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

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

filter(array $event) : bool

Parameters

$event

array

event data

Returns

bool

 Properties

 

Regex to match

$validator : \Zend\Validator\ValidatorInterface