Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Change the priority value to avoid confused with Priority filter
Browse files Browse the repository at this point in the history
This priority should not be confused with the Priority filter, which determines if a message meets a severity threshold. When a Priority filter is attached, the writer will output the message only when the filter is lower or equal (by default) to the priority (the biggest severity is 0).
This priority is the priority in the queue of all writers of the logger. It can be any integer, and the default is 1
  • Loading branch information
arnolem committed Jun 5, 2019
1 parent 07d6147 commit 128ff1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/service-manager.md
Expand Up @@ -46,7 +46,7 @@ return [
'writers' => [
'stream' => [
'name' => 'stream',
'priority' => \Zend\Log\Logger::ALERT,
'priority' => 1,
'options' => [
'stream' => 'php://output',
'formatter' => [
Expand Down

0 comments on commit 128ff1a

Please sign in to comment.