Fully Qualified Name: | Zend\Log\Filter\Priority |
Implements: | FilterInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Filter logging by $priority. By default, it will accept any log event whose priority value is less than or equal to $priority. | Priority |
filter() | Returns TRUE to accept the message, FALSE to block it. | Priority |
Filter logging by $priority. By default, it will accept any log event whose priority value is less than or equal to $priority.
Parameter Name | Type | Description |
---|---|---|
$priority | int|array|\Traversable | Priority |
$operator | string | Comparison |
Returns: \Priority
Returns TRUE to accept the message, FALSE to block it.
Parameter Name | Type | Description |
---|---|---|
$event | array | event |
Returns: bool accepted?