1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 12:47:39 +02:00

All handlers are closeable now

This commit is contained in:
Jordi Boggiano
2015-10-14 13:46:28 +01:00
parent 45323b9102
commit 906bc0e6a2

View File

@@ -176,9 +176,7 @@ class ErrorHandler
if ($this->logger instanceof Logger) {
foreach ($this->logger->getHandlers() as $handler) {
if ($handler instanceof AbstractHandler) {
$handler->close();
}
$handler->close();
}
}
}