Closed DominicDetta closed 8 months ago
I found that the correct handler to use is Clockwork\Support\Monolog\Monolog2\ClockworkHandler
.
A new monolog datasource which implements this handler would be great. I can create a PR if you want.
Ah, I guess I forgot we had a Monolog data source as well, when adding handlers for newer Monolog versions. I think we can improve the data source, to check what Monolog version is installed and register the correct handler.
I'm using the monolog package version 2.9.2 and I obtain the following error:
The code to add the new DataSource: