MessageFilter
in package
implements
LogFilter
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $regexp : string
- Filter regex.
- __construct() : mixed
- Filter out any log messages not matching $regexp.
- accept() : bool
- Returns Horde_Log_Filter::ACCEPT to accept the message, Horde_Log_Filter::IGNORE to ignore it.
Properties
$regexp
Filter regex.
protected
string
$regexp
Methods
__construct()
Filter out any log messages not matching $regexp.
public
__construct(string $regexp) : mixed
Parameters
- $regexp : string
-
Regular expression to test the log message.
Tags
Return values
mixed —accept()
Returns Horde_Log_Filter::ACCEPT to accept the message, Horde_Log_Filter::IGNORE to ignore it.
public
accept(LogMessage $event) : bool
Parameters
- $event : LogMessage
-
Log event.
Return values
bool —Accepted?