Horde_Log_Filter_ExactLevel
in package
implements
Horde_Log_Filter
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $_level : int
- __construct() : mixed
- Filter out any log messages not equal to $level.
- accept() : bool
- Returns TRUE to accept the message, FALSE to block it.
Properties
$_level
protected
int
$_level
Methods
__construct()
Filter out any log messages not equal to $level.
public
__construct(int $level) : mixed
Parameters
- $level : int
-
Log level to pass through the filter
Return values
mixed —accept()
Returns TRUE to accept the message, FALSE to block it.
public
accept(array<string|int, mixed> $event) : bool
Parameters
- $event : array<string|int, mixed>
-
Log event
Return values
bool —accepted?