SuppressFilter
in package
implements
LogFilter
Tags
Interfaces, Classes, Traits and Enums
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?