Skip to content

Allow option to pass a function for debug parameter #906

@jankapunkt

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions