Zend\Log\Filter\Regex
Synopsis
class Regex
implements
FilterInterface
{
- // members
- protected string $regex;
- // methods
- public Regex __construct()
- public bool filter()
Hierarchy
Implements
Members
protected
- $regex
—
string
Regex to match
Methods
public
- __construct() — Filter out any log messages not matching the pattern
- filter() — Returns TRUE to accept the message, FALSE to block it.