MaximumLevelFilter
in package
implements
LogFilter
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.
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?