I wanted to use this bundle with monolog 3.x. But this major version of monolog introduced a new object called LogRecord which is used in the HandlerInterface method declarations instead of array.
All the handlers and formatters in this bundle are therefore not compatible with monolog/monolog 3.x.
Either we need to fix the signature (should be easy) or exclude ^3.0 in composer.json.
For other people who have the same issue: you can as a workaround, explicitly set the dependency version of monolog/monolog to ^2.9.1 in your composer.json
I wanted to use this bundle with monolog 3.x. But this major version of monolog introduced a new object called
LogRecord
which is used in theHandlerInterface
method declarations instead ofarray
.All the handlers and formatters in this bundle are therefore not compatible with monolog/monolog 3.x.
Either we need to fix the signature (should be easy) or exclude
^3.0
in composer.json.For other people who have the same issue: you can as a workaround, explicitly set the dependency version of
monolog/monolog
to^2.9.1
in your composer.json