MinimumLevelFilter
in package
implements
LogFilter
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $level : int
- Filter level.
- __construct() : mixed
- Filter out any log messages more urgent 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 more urgent 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(LogMessage $event) : bool
Parameters
- $event : LogMessage
-
Log event.
Return values
bool —Accepted?