Fully Qualified Name: | Zend\Log\Filter\Regex |
Implements: | FilterInterface |
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 |
Filter out any log messages not matching the pattern
Parameter Name | Type | Description |
---|---|---|
$regex | string|array|\Traversable | Regular |
Returns: \Regex
Returns TRUE to accept the message, FALSE to block it.
Parameter Name | Type | Description |
---|---|---|
$event | array | event |
Returns: bool accepted?