1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +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,13 +176,11 @@ class ErrorHandler
if ($this->logger instanceof Logger) {
foreach ($this->logger->getHandlers() as $handler) {
if ($handler instanceof AbstractHandler) {
$handler->close();
}
}
}
}
}
private static function codeToString($code)
{