Documentation

MaximumLevelFilter
in package
implements LogFilter

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

LogFilter

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

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?

Search results