Jordi Boggiano 7 лет назад
Родитель
Сommit
120c434db9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Monolog/Logger.php

+ 1 - 1
src/Monolog/Logger.php

@@ -147,7 +147,7 @@ class Logger implements LoggerInterface
     public function __construct($name, array $handlers = array(), array $processors = array())
     {
         $this->name = $name;
-        $this->handlers = $handlers;
+        $this->setHandlers($handlers);
         $this->processors = $processors;
     }