Skip to content

Commit d18eb57

Browse files
committed
Make sure levels are converted properly
1 parent a754edc commit d18eb57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Monolog/Handler/DeduplicationHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function __construct(HandlerInterface $handler, $deduplicationStore = nul
6767
parent::__construct($handler, 0, Logger::DEBUG, $bubble, false);
6868

6969
$this->deduplicationStore = $deduplicationStore === null ? sys_get_temp_dir() . '/monolog-dedup-' . substr(md5(__FILE__), 0, 20) .'.log' : $deduplicationStore;
70-
$this->deduplicationLevel = $deduplicationLevel;
70+
$this->deduplicationLevel = Logger::toMonologLevel($deduplicationLevel);
7171
$this->time = $time;
7272
}
7373

0 commit comments

Comments
 (0)