\Horde_Log_Filter_Message

Summary

Methods
Properties
Constants
__construct()
accept()
No public properties found
No constants found
No protected methods found
$_regexp
N/A
No private methods found
No private properties found
N/A

Properties

$_regexp

$_regexp : string

Filter regex.

Type

string

Methods

__construct()

__construct(string  $regexp) 

Filter out any log messages not matching $regexp.

Parameters

string $regexp

Regular expression to test the log message.

Throws

\InvalidArgumentException

Invalid regular expression.

accept()

accept(array  $event) : boolean

Returns Horde_Log_Filter::ACCEPT to accept the message, Horde_Log_Filter::IGNORE to ignore it.

Parameters

array $event

Log event.

Returns

boolean —

Accepted?