Class Priority

Summary

Fully Qualified Name: Laminas\Log\Filter\Priority
Implements: FilterInterface

Description

Methods

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

Method Details

__construct()

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

filter()

Returns TRUE to accept the message, FALSE to block it.

Parameter Name Type Description
$event array event

Returns: bool accepted?

Top