mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-01 19:00:20 +02:00
Verify handlers types, fixes #1131
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user