Skip to content

Suggestion: Ability to pass objects into Mage log for custom log writers. #89

Closed
@floppa

Description

@floppa

When creating own log writers it would be really useful to be able to pass objects into mage log, this extra useful when not using a file based log.

the problem is that a check is made to see if the message is a object and if so it does a print_r to make it to string but at the same destroying the possibility to use it later.

You can get around it right now by temporarily store the log data and catch in the log writer but it isn't as nice that it could be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions