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:
@@ -185,5 +185,9 @@ class FilterHandler extends Handler implements ProcessableHandlerInterface, Rese
|
||||
public function reset()
|
||||
{
|
||||
$this->resetProcessors();
|
||||
|
||||
if ($this->getHandler() instanceof ResettableInterface) {
|
||||
$this->getHandler()->reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user