getsentry / getsentry/sentry-java

Enable logging by default [Android]

Aperta
#5,363 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Android breaking change Logs Platform: Java Task
Lingua principale
Kotlin
Stelle
1.4k
Fork
478
Merge medio
2g 23h
PR unite (30g)
67

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.