Open kaihendry opened 1 month ago
what do you mean by "it is not working as expected" ?
I expected monolog to hook into error_log
PHP's error_log
function does not report its messages to the PHP error handler system. It directly sends it to the PHP system logger, which is not hookable in userland.
Monolog version 3.7
https://gist.github.com/kaihendry/6ad32ed135e3d679e6dd896365b252cb
The error handler is not working as expected, it shows: