1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-09-01 09:03:02 +02:00

When we reset the FilterHandler we should call the handler we are wrapping

This commit is contained in:
Marc van der Meulen
2021-01-15 17:25:19 +01:00
parent 78bd7bd333
commit 7066e39078
2 changed files with 27 additions and 0 deletions

View File

@@ -185,5 +185,9 @@ class FilterHandler extends Handler implements ProcessableHandlerInterface, Rese
public function reset()
{
$this->resetProcessors();
if ($this->getHandler() instanceof ResettableInterface) {
$this->getHandler()->reset();
}
}
}