Skip to content

Rename logger in @sentry/core to debug #16901

Open
1 of 3 issues completed
Open
1 of 3 issues completed
@AbhiPrasad

Description

@AbhiPrasad

Description

We should explicitly state that the logger exported from @sentry/core is the SDK debug logger.

This gives us a couple of benefits:

  1. communicates intent of the export much better
  2. avoids collision with logger exported from other sdks (which is used for sentry structured logging)
  3. we can move structured logging logger code into @sentry/core, reducing duplication across our sdks

We'll first have to adjust the export in @sentry/core, and then change all the sdk code accordingly. After we change all the SDK code, we can deprecate the export.

Sub-issues

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