1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 09:36:11 +02:00

Merge branch '1.x', clean up close/reset for 2.0, refs #997

This commit is contained in:
Jordi Boggiano
2018-11-04 22:41:52 +01:00
13 changed files with 125 additions and 30 deletions

View File

@@ -93,6 +93,8 @@ class GroupHandler extends Handler implements ProcessableHandlerInterface, Reset
public function reset()
{
$this->resetProcessors();
foreach ($this->handlers as $handler) {
if ($handler instanceof ResettableInterface) {
$handler->reset();