Documentation

Horde_Log_Filter_Level
in package
implements Horde_Log_Filter

Tags
author

Mike Naberezny mike@maintainable.com

author

Chuck Hagenbuch chuck@horde.org

category

Horde

license

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

subpackage

Filters

Interfaces, Classes, Traits and Enums

Horde_Log_Filter

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

Search results