Skip to content
Snippets Groups Projects
Commit 4a988b7a authored by unixtam's avatar unixtam Committed by Thijs Kinkhorst
Browse files

fixed stats being logged despite loglevel being <= WARNING

parent f5dde0c5
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ class Logger
*/
public static function stats(string $string): void
{
self::log(self::NOTICE, $string, true);
self::log(self::NOTICE, $string, self::$logLevel >= self::NOTICE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment