1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 22:26:41 +02:00

Fix LogRecord "extra" data leaking between handlers (#1819)

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
This commit is contained in:
Cosmin Ardeleanu
2023-10-27 17:54:39 +03:00
committed by GitHub
parent 8ff4ab5c94
commit b0f4bf7eb7
9 changed files with 128 additions and 19 deletions

View File

@@ -19,10 +19,8 @@ class ExceptionTestHandler extends TestHandler
/**
* @inheritDoc
*/
public function handle(LogRecord $record): bool
protected function write(LogRecord $record): void
{
throw new Exception("ExceptionTestHandler::handle");
parent::handle($record);
}
}