715. Class

715.1. Zend\Log\Filter\Regex

715.1.1. Methods

715.1.1.1. __construct

__construct()

Filter out any log messages not matching the pattern

Parameters:string|array|Traversable – Regular expression to test the log message
Return type:Regex
Throws :ExceptionInvalidArgumentException

715.1.1.2. filter

filter()

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

Parameters:array – event data
Return type:bool accepted?

Project Versions

Table Of Contents

Previous topic

714. Class

Next topic

716. Class

This Page