mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Logger: Fix level comparison
This commit is contained in:
parent
2698516005
commit
39729c9580
@ -156,7 +156,7 @@ class Logger
|
||||
*/
|
||||
public function log($level, $message)
|
||||
{
|
||||
if ($this->writer !== null && $this->level >= $level) {
|
||||
if ($this->writer !== null && $this->level <= $level) {
|
||||
$this->writer->log($level, $message);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user