Skip to content

Allow option to pass a function for debug parameter #906

Description

@jankapunkt

I am currently rebuilding our internal logging and found that when I want additional info via the "debug" flag then I can only pass a boolean to the constructor (according to the docs).

Optimally, I would want to pass a function that replaces the internal console.log as output target. The boolean flag could remain as non-breaking default.

what do you think?

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions