1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

switch initialized state in example handler

This commit is contained in:
Toni Uebernickel
2011-11-18 15:52:04 +01:00
parent ed9703e01f
commit fda8d401a5

View File

@@ -54,6 +54,8 @@ class PDOHandler extends AbstractProcessingHandler
$this->statement = $this->pdo->prepare(
'INSERT INTO monolog (channel, level, message, time) VALUES (:channel, :level, :message, :time)'
);
$this->initialized = true;
}
}
```