Skip to content

Commit acecb0d

Browse files
authored
Update Logger.php
Change log level number to match RFC 5424. Enabling threshold on 'debug' level is same as show all messages. This is what developer wants on debugging stage
1 parent 0d2b287 commit acecb0d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

system/Log/Logger.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ class Logger implements LoggerInterface
7373
'alert' => 2,
7474
'critical' => 3,
7575
'error' => 4,
76-
'debug' => 5,
77-
'warning' => 6,
78-
'notice' => 7,
79-
'info' => 8,
76+
'warning' => 5,
77+
'notice' => 6,
78+
'info' => 7,
79+
'debug' => 8,
8080
];
8181

8282
/**

0 commit comments

Comments
 (0)