Skip to content

To use trigger_error instead of error_log  #1473

@enginvardar

Description

@enginvardar

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershelp wantedThis issue is looking for someone to work on itsmallsmall sized task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions