mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-11 23:54:04 +02:00
Convert level/levelName to enums (#1656)
This commit is contained in:
@@ -30,7 +30,7 @@ class PDOHandler extends AbstractProcessingHandler
|
||||
private $pdo;
|
||||
private $statement;
|
||||
|
||||
public function __construct(PDO $pdo, $level = Logger::DEBUG, bool $bubble = true)
|
||||
public function __construct(PDO $pdo, $level = Level::Debug, bool $bubble = true)
|
||||
{
|
||||
$this->pdo = $pdo;
|
||||
parent::__construct($level, $bubble);
|
||||
|
Reference in New Issue
Block a user