1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-28 11:05:05 +01:00

Add Logger::close and clarify what close and reset do plus

This commit is contained in:
Jordi Boggiano
2018-11-04 22:15:25 +01:00
parent 712c5dacf6
commit b80352368c
8 changed files with 90 additions and 20 deletions

View File

@@ -177,8 +177,6 @@ abstract class AbstractHandler implements HandlerInterface, ResettableInterface
public function reset()
{
$this->close();
foreach ($this->processors as $processor) {
if ($processor instanceof ResettableInterface) {
$processor->reset();