Fully Qualified Name: | Zend\Log\Filter\SuppressFilter |
Implements: | FilterInterface |
Name | Description | Defined By |
---|---|---|
__construct() | This is a simple boolean filter. | SuppressFilter |
filter() | Returns TRUE to accept the message, FALSE to block it. | SuppressFilter |
suppress() | This is a simple boolean filter. | SuppressFilter |
This is a simple boolean filter.
Parameter Name | Type | Description |
---|---|---|
$suppress | int|array|\Traversable |
Returns:
Returns TRUE to accept the message, FALSE to block it.
Parameter Name | Type | Description |
---|---|---|
$event | array | event |
Returns: bool accepted?
This is a simple boolean filter.
Call suppress(true) to suppress all log events. Call suppress(false) to accept all log events.
Parameter Name | Type | Description |
---|---|---|
$suppress | bool | Should |
Returns: void