| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Use state-oriented names for the new Logback, Log4j2, JUL, Timber, Logcat, and Spring Boot Logs controls. Expose get...Enabled accessors so Java-defined options map to natural Kotlin properties before these APIs are released. Co-Authored-By: Claude <noreply@anthropic.com>
📲 Install BuildsAndroid
|
Sorry, something went wrong.
There was a problem hiding this comment.
Yes! Much better API
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Stack (Logs and Metrics Enable Flags)
📜 Description
Renames the generic logging-integration opt-in from enableLogs to logsEnabled before the new API is released:
Java integrations expose state-oriented get...Enabled() and set...Enabled() accessors, which map to natural .logsEnabled, .timberLogsEnabled, and .logcatLogsEnabled property syntax in Kotlin. Samples, tests, API dumps, and option guidance use the renamed controls.
Legacy aggregate ExternalOptions.enableLogs detection remains unchanged because it exists only to warn about obsolete logs.enabled configuration. The Android manifest keys remain io.sentry.timber.logs.enabled and io.sentry.logcat.logs.enabled.
💡 Motivation and Context
logsEnabled describes state rather than an action and provides a consistent .logsEnabled property across Kotlin-native and Java-defined integrations.
💚 How did you test it?
📝 Checklist
#skip-changelog