Horde_Log_Filter_Level
in package
implements
Horde_Log_Filter
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $_level : int
- Filter level.
- __construct() : mixed
- Filter out any log messages greater than $level.
- accept() : bool
- Returns Horde_Log_Filter::ACCEPT to accept the message, Horde_Log_Filter::IGNORE to ignore it.
Properties
$_level
Filter level.
protected
int
$_level
Methods
__construct()
Filter out any log messages greater than $level.
public
__construct(int $level) : mixed
Parameters
- $level : int
-
Maximum log level to pass through the filter.
Tags
Return values
mixed —accept()
Returns Horde_Log_Filter::ACCEPT to accept the message, Horde_Log_Filter::IGNORE to ignore it.
public
accept(array<string|int, mixed> $event) : bool
Parameters
- $event : array<string|int, mixed>
-
Log event.
Return values
bool —Accepted?