Skip to content

Conversation

@adinauer
Copy link
Member

📜 Description

Add fatalLogger to SentryOptions which defaults to using AndroidFatalLogger for Android and SystemOutLogger otherwise.

💡 Motivation and Context

When mixed versions are detected with debug set to false, no log messages about exact dependencies and versions would be visible. Instead of asking customers to restart with debug set to true, we now have a fatal logger that will always print its messages regardless of debug or diagnosticLevel.

💚 How did you test it?

📝 Checklist

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

@github-actions
Copy link
Contributor

github-actions bot commented Mar 26, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 5e48870

Base automatically changed from feat/remove-duplicate-add-package-calls to main March 27, 2025 13:08
@adinauer adinauer merged commit 460594f into main Mar 27, 2025
34 of 35 checks passed
@adinauer adinauer deleted the feat/fatal-logger branch March 27, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants