mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +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)
|
public function log($level, $message)
|
||||||
{
|
{
|
||||||
if ($this->writer !== null && $this->level >= $level) {
|
if ($this->writer !== null && $this->level <= $level) {
|
||||||
$this->writer->log($level, $message);
|
$this->writer->log($level, $message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user