Horde_Log_Filter_Suppress
in package
implements
Horde_Log_Filter
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $_accept : bool
- Accept all events?
- accept() : bool
- Returns Horde_Log_Filter::ACCEPT to accept the message, Horde_Log_Filter::IGNORE to ignore it.
- suppress() : mixed
- This is a simple boolean filter.
Properties
$_accept
Accept all events?
protected
bool
$_accept
= \Horde_Log_Filter::ACCEPT
Methods
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>
-
Event data.
Return values
bool —Accepted?
suppress()
This is a simple boolean filter.
public
suppress(bool $suppress) : mixed
Parameters
- $suppress : bool
-
Should all log events be suppressed?