getsentry / getsentry/sentry-react-native

Enable logging by default [React Native]

Offen
#6,083 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @alwx Auf GitHub ansehen
Breaking Change Logs React-Native Task
Vorherrschende Sprache
TypeScript
Sterne
1.8k
Forks
366
Ø Merge
1 T. 5 Std.
Gemergte PRs (30 T.)
93

Beschreibung

Update logs behavior to follow the same opt-in model as `enableMetrics`:

* Users are considered opted-in when:
* They call the equivalent of `Sentry.logger.*`, or
* They explicitly enable a logging integration.
* Change default: set enable logs to `true`.
* Audit all logging integrations to ensure:
* No logs are emitted unless the integration is explicitly enabled.
* Update documentation:
* Explain new default behavior of `enableLogs`.
* Clarify requirement to explicitly enable logging integrations.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.