diff --git a/docs/platforms/android/integrations/logcat/index.mdx b/docs/platforms/android/integrations/logcat/index.mdx index 02d0706a2492d..9c89a41948ec7 100644 --- a/docs/platforms/android/integrations/logcat/index.mdx +++ b/docs/platforms/android/integrations/logcat/index.mdx @@ -119,3 +119,13 @@ Learn more about manually capturing an error or message in our To view and resolve the recorded message, log into [sentry.io](https://sentry.io) and open your project. Click on the error's title to open a page where you can see error details and mark errors as resolved. + +## Support With Sentry Logs + + + +Sentry Logs for Logcat are supported in Sentry Android SDK version `8.17.0` and above. + + + +Logcat logs at or above the `minLevel` captured by Sentry are automatically sent as Sentry Logs, if enabled. diff --git a/docs/platforms/android/integrations/timber/index.mdx b/docs/platforms/android/integrations/timber/index.mdx index 153c887bfdef6..6db43b482946c 100644 --- a/docs/platforms/android/integrations/timber/index.mdx +++ b/docs/platforms/android/integrations/timber/index.mdx @@ -79,10 +79,12 @@ SentryAndroid.init(this) { options -> // default values: // minEventLevel = ERROR // minBreadcrumbLevel = INFO + // minLogsLevel = SentryLogLevel.INFO, options.addIntegration( SentryTimberIntegration( minEventLevel = SentryLevel.ERROR, - minBreadcrumbLevel = SentryLevel.INFO + minBreadcrumbLevel = SentryLevel.INFO, + minLogsLevel = SentryLogLevel.INFO ) ) } else { @@ -103,10 +105,12 @@ SentryAndroid.init(this, options -> { // default values: // minEventLevel = ERROR // minBreadcrumbLevel = INFO + // minLogsLevel = SentryLogLevel.INFO, options.addIntegration( new SentryTimberIntegration( SentryLevel.ERROR, - SentryLevel.INFO + SentryLevel.INFO, + SentryLogLevel.INFO ) ); } else { @@ -162,3 +166,13 @@ Learn more about manually capturing an error or message, in our To view and resolve the recorded message, log into [sentry.io](https://sentry.io) and open your project. Clicking on the error's title will open a page where you can see detailed information and mark it as resolved. + +## Support With Sentry Logs + + + +Sentry Logs for Timber are supported in Sentry Android SDK version `8.17.0` and above. + + + +Timber logs at or above the `minLogsLevel` captured by Sentry are automatically sent as Sentry Logs, if enabled. diff --git a/platform-includes/logs/integrations/android.mdx b/platform-includes/logs/integrations/android.mdx index 56cb253f37ab2..27e50ccad9663 100644 --- a/platform-includes/logs/integrations/android.mdx +++ b/platform-includes/logs/integrations/android.mdx @@ -1,4 +1,4 @@ We're actively working on adding more integration support for Logs. You can follow progress on the following GitHub issues or open a [new one](https://github.com/getsentry/sentry-java/issues/new/choose) for any integration you would like to see. -- [Timber](https://github.com/getsentry/sentry-java/issues/4407) -- [Logcat](https://github.com/getsentry/sentry-java/issues/4408) +- [Timber](/platforms/android/integrations/timber/) +- [Logcat](/platforms/android/integrations/logcat/) diff --git a/platform-includes/logs/requirements/android.mdx b/platform-includes/logs/requirements/android.mdx index 92b174e19f6b1..028c37f357714 100644 --- a/platform-includes/logs/requirements/android.mdx +++ b/platform-includes/logs/requirements/android.mdx @@ -1 +1 @@ -Logs for Android are supported in Sentry Java SDK version `8.12.0` and above. +Logs for Android are supported in Sentry Android SDK version `8.12.0` and above.