1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 00:56:08 +02: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

@@ -118,6 +118,8 @@ class BufferHandler extends AbstractHandler
public function reset()
{
$this->flush();
parent::reset();
if ($this->handler instanceof ResettableInterface) {