package Default

 Methods

Filter out any log messages not matching the pattern

__construct(string|array|\Traversable $regex) : \Zend\Log\Filter\Regex

Parameters

$regex

stringarray\Traversable

Regular expression to test the log message

Exceptions

\Zend\Log\Exception\InvalidArgumentException

Returns

\Zend\Log\Filter\Regex

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

 

Regex to match

$regex : string

Default