Skip to content

Expose addConsoleInstrumentationFilter from @sentry/core #6140

Closed

Description

@antonis

Problem

Currently, the SDK captures console breadcrumbs via the breadcrumbsIntegration with a simple console: true/false toggle — all or nothing. Users cannot selectively filter which console calls are recorded as breadcrumbs (e.g., skip console.debug but keep console.error).

Solution

@sentry/core v10.53.0 added addConsoleInstrumentationFilter (getsentry/sentry-javascript#20790) which allows granular filtering of console instrumentation.

We should re-export this utility so React Native users can use it.

References

Activity

  1. linear-code commented on May 12, 2026

    @linear-code
  2. self-assigned this
    on May 12, 2026
  3. github-actions commented on May 21, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #6180, which was included in the 8.12.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions