Documentation

SuppressFilter
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

$accept  : bool
Accept all events?
accept()  : bool
Decide if we accept messages.
suppress()  : bool
This is a simple boolean filter.

Properties

$accept

Accept all events?

protected bool $accept = \Horde\Log\LogFilter::ACCEPT

Methods

accept()

Decide if we accept messages.

public accept(LogMessage $event) : bool

Returns Horde\Log\Filter::ACCEPT to accept the message, Horde_Log_Filter::IGNORE to ignore it.

Parameters
$event : LogMessage

Event data.

Return values
bool

Accepted?

suppress()

This is a simple boolean filter.

public suppress(bool $suppress) : bool
Parameters
$suppress : bool

Should all log events be suppressed?

Return values
bool

Search results