1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 21:26:43 +02:00

Make sure levels are converted properly

This commit is contained in:
Jordi Boggiano
2016-04-12 18:43:49 +01:00
parent a754edc64c
commit d18eb57ee9

View File

@@ -67,7 +67,7 @@ class DeduplicationHandler extends BufferHandler
parent::__construct($handler, 0, Logger::DEBUG, $bubble, false);
$this->deduplicationStore = $deduplicationStore === null ? sys_get_temp_dir() . '/monolog-dedup-' . substr(md5(__FILE__), 0, 20) .'.log' : $deduplicationStore;
$this->deduplicationLevel = $deduplicationLevel;
$this->deduplicationLevel = Logger::toMonologLevel($deduplicationLevel);
$this->time = $time;
}