Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion platform-includes/logs/setup/android.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
To enable logging, you need to initialize the SDK with the `logs.enabled` option set to `true`.
To enable logging integrations, you need to initialize the SDK with the `logs.enabled` option set to `true`. Since SDK version 8.59.0, direct `Sentry.logger()` calls don't require this option.

```XML {filename:AndroidManifest.xml}
<meta-data android:name="io.sentry.logs.enabled" android:value="true" />
Expand Down
2 changes: 1 addition & 1 deletion platform-includes/logs/setup/java.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
To enable logging, you need to initialize the SDK with the `logs.enabled` option set to `true`.
To enable logging integrations, you need to initialize the SDK with the `logs.enabled` option set to `true`. Since SDK version 8.59.0, direct `Sentry.logger()` calls don't require this option.

```java {tabTitle: Java} {5}
import io.sentry.Sentry;
Expand Down
2 changes: 1 addition & 1 deletion platform-includes/metrics/options/android.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ SentryAndroid.init(context) { options ->

### Disabling Metrics

If you want to disable metrics collection entirely, you can do so by disabling the `metrics.enabled` flag:
Since SDK version 8.59.0, the `metrics.enabled` flag no longer affects metrics; use `beforeSend` to drop them instead. In older versions, you can disable metrics collection entirely by disabling the `metrics.enabled` flag:

```xml {tabTitle: XML} {mdExpandTabs}
<meta-data android:name="io.sentry.metrics.enabled" android:value="false" />
Expand Down
2 changes: 1 addition & 1 deletion platform-includes/metrics/options/java.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Sentry.init { options ->

### Disabling Metrics

If you want to disable metrics collection entirely, you can do so by disabling the `metrics.enabled` flag:
Since SDK version 8.59.0, the `metrics.enabled` flag no longer affects metrics; use `beforeSend` to drop them instead. In older versions, you can disable metrics collection entirely by disabling the `metrics.enabled` flag:

```java {tabTitle: Java}
import io.sentry.Sentry;
Expand Down
2 changes: 1 addition & 1 deletion platform-includes/metrics/options/java.spring-boot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The `beforeSend` function receives a metric object, and should return the metric

### Disabling Metrics

If you want to disable metrics collection entirely, you can do so by disabling the `metrics.enabled` flag:
Since SDK version 8.59.0, the `metrics.enabled` flag no longer affects metrics; use `beforeSend` to drop them instead. In older versions, you can disable metrics collection entirely by disabling the `metrics.enabled` flag:

```properties {tabTitle:application.properties}
sentry.metrics.enabled=false
Expand Down
Loading