Skip to content

Initialising the tracer before the logger is imported is unergonomic #8524

Description

@BridgeAR

How can I initialise the tracer before the logger is imported if I want to pass that very logger to the tracer init method, as shown in https://datadoghq.dev/dd-trace-js/#custom-logging?

Originally posted by @ab-pm in #1908

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions