Skip to content

[skill-drift] update(sentry-react-native-sdk): add enableAutoConsoleLogs option#154

Merged
cleptric merged 1 commit into
mainfrom
skill-drift/sentry-react-native-sdk-skill-drift-update-sentry-react-native-s-1780325441
Jun 15, 2026
Merged

[skill-drift] update(sentry-react-native-sdk): add enableAutoConsoleLogs option#154
cleptric merged 1 commit into
mainfrom
skill-drift/sentry-react-native-sdk-skill-drift-update-sentry-react-native-s-1780325441

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Warning

Auto-generated from external SDK content. Review all links and code suggestions before acting on them.

Summary

  • Add new enableAutoConsoleLogs config option (SDK ≥8.14.0) to both the main skill configuration table and the logging reference
  • Update Console Logging Integration section to explain the new default behavior and how to opt out

Changes

Added enableAutoConsoleLogs to:

  • skills/sentry-react-native-sdk/SKILL.md — Logging Options table
  • skills/sentry-react-native-sdk/references/logging.md — Configuration Reference table and Console Logging Integration section

What it does:
Starting in SDK 8.14.0, when enableLogs: true, the SDK automatically captures console.* calls without needing to add consoleLoggingIntegration manually. Users can set enableAutoConsoleLogs: false to disable this and use only manual Sentry.logger.* calls.

Additional findings (not addressed in this PR)

Swift Package Manager for iOS (SDK 8.13.0, PR #6182) — Not documented. This is a new opt-in iOS installation method that requires setting SENTRY_USE_SPM=1 before pod install to consume sentry-cocoa via SPM instead of CocoaPods source build. This needs architectural guidance on when to use it (simpler builds, binary xcframework) vs. standard CocoaPods.

App hang tracking APIs (SDK 8.13.0, PR #6192) — pauseAppHangTracking() and resumeAppHangTracking() are now exposed on iOS. Niche APIs for temporarily disabling app hang detection during known-blocking operations.

Reviewed PRs

  • #6235 — feat(logs): Add enableAutoConsoleLogs option (addressed)
  • #6199 — feat(tracing): Add Sentry.NavigationContainer wrapper (already documented)
  • #6195 — feat(core): Add disableAutoUpload to Expo plugin (already documented)
  • #6182 — feat(ios): SPM support (needs separate work)
  • #6228 — fix(expo): Rethrow native exceptions (internal behavior)
  • #6224 — chore(deps): Android SDK 8.43.0 (version tracking)
  • #6223 — chore(deps): Cocoa SDK 9.15.0 (version tracking)
  • #6222 — chore(deps): JavaScript SDK 10.55.0 (version tracking)
  • #6218 — feat(tracing): Navigation breadcrumbs (covered)
  • #6210 — fix(tracing): Bound TTID/TTFD (internal behavior)
  • #6202 — fix(ios): requiresMainQueueSetup (internal implementation)
  • #6119 — refactor(android): Kotlin DSL (already documented)

Source PRs

…ogs option

Automated drift-fix run.

Co-Authored-By: Claude (claude-sonnet-4-5) <noreply@anthropic.com>
Comment thread skills/sentry-react-native-sdk/references/logging.md
@antonis antonis self-requested a review June 15, 2026 12:45

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thank you for the changes

@cleptric cleptric merged commit 427b24b into main Jun 15, 2026
5 checks passed
@cleptric cleptric deleted the skill-drift/sentry-react-native-sdk-skill-drift-update-sentry-react-native-s-1780325441 branch June 15, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants