Class Regex

Summary

Fully Qualified Name: Zend\Log\Filter\Regex
Implements: FilterInterface

Description

Methods

Name Description Defined By
__construct() Filter out any log messages not matching the pattern Regex
filter() Returns TRUE to accept the message, FALSE to block it. Regex

Method Details

__construct()

Filter out any log messages not matching the pattern

Parameter Name Type Description
$regex string|array|\Traversable Regular

Returns: \Regex

filter()

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

Parameter Name Type Description
$event array event

Returns: bool accepted?

Top