Skip to content

Decouple enablement of error and debug logs #559

@perryh

Description

@perryh

In my use case, I want to forward errors to my logger but ignore debug messages.

According to log.js, both debug and error of the logger object for TracerOptions need to be instances of functions in order for me to use custom loggers for either of them. And even if I pass a noop function for debug, my application will waste cycles computing the debug messages.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions