Documentation

MinimumLevelFilter
in package
implements LogFilter

Tags
author

Ralf Lang lang@b1-systems.de

category

Horde

license

http://www.horde.org/licenses/bsd BSD

subpackage

Filters

since

v3.0.0

Interfaces, Classes, Traits and Enums

LogFilter

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

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
throws
InvalidArgumentException
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?

Search results