Open mimou78 opened 2 years ago
Hello
I have tried using the Monolog Collector with version 3.0 and up of monolog. They changed of the "write" method, it no longer takes an array as a parameter. I solved the problem at home with an overload but if you want I can send you a PR
See https://github.com/Seldaek/monolog/blob/3.0.0-RC1/src/Monolog/Handler/AbstractProcessingHandler.php abstract protected function write(LogRecord $record): void;
abstract protected function write(LogRecord $record): void;
The solution is as bellow `` /**
Fixed on https://github.com/maximebf/php-debugbar/pull/506
Hello
I have tried using the Monolog Collector with version 3.0 and up of monolog. They changed of the "write" method, it no longer takes an array as a parameter. I solved the problem at home with an overload but if you want I can send you a PR
See https://github.com/Seldaek/monolog/blob/3.0.0-RC1/src/Monolog/Handler/AbstractProcessingHandler.php
abstract protected function write(LogRecord $record): void;