getsentry / getsentry/sentry-react-native

Enable logging by default [React Native]

Aperta
#6,083 1 commento 0 reazioni 1 assegnatario Rivendicata da @alwx Vedi su GitHub
Breaking Change Logs React-Native Task
Lingua principale
TypeScript
Stelle
1.8k
Fork
366
Merge medio
1g 9h
PR unite (30g)
89

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.