Is your feature request related to a problem?
When the logger is not set to LogHolder but a generic error handler is set in application that is set by set_error_handler, error handler is not invoked because error_log function does not trigger this.
Describe the solution you'd like
To use trigger_error instead of error_log in ErrorLogWriter to allow error handler to handle logging.
What would you think about a change like this?
Is your feature request related to a problem?
When the logger is not set to
LogHolderbut a generic error handler is set in application that is set byset_error_handler, error handler is not invoked becauseerror_logfunction does not trigger this.Describe the solution you'd like
To use trigger_error instead of error_log in
ErrorLogWriterto allow error handler to handle logging.What would you think about a change like this?