Skip to content

Commit

Permalink
Update android.md (#27498)
Browse files Browse the repository at this point in the history
Update setRemoteSampleRate parameter default value for all logs to 100f from 1.0 to match the sdk.

Co-authored-by: Esther Kim <[email protected]>
  • Loading branch information
willstrickfaden and estherk15 authored Feb 7, 2025
1 parent c9ad663 commit 4a4d22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/logs/log_collection/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ The following methods in `Logger.Builder` can be used when initializing the logg
| `setBundleWithTraceEnabled(true)`| Set to `true` (default) to bundle the logs with the active trace in your application. This parameter lets you display all the logs sent during a specific trace by using the Datadog dashboard. |
| `setBundleWithRumEnabled(true)`| Set to `true` (default) to bundle the logs with the current RUM context in your application. This parameter lets you display all the logs sent while a specific View is active by using the Datadog RUM Explorer. |
| `setName(<LOGGER_NAME>)` | Set `<LOGGER_NAME>` as the value for the `logger.name` attribute attached to all logs sent to Datadog. |
| `setRemoteSampleRate(<SAMPLE_RATE>)` | Set the sampling rate for this logger. All the logs produced by the logger instance are randomly sampled according to the provided sample rate (default 1.0 = all logs). **Note**: The Logcat logs are not sampled. |
| `setRemoteSampleRate(<SAMPLE_RATE>)` | Set the sampling rate for this logger. All the logs produced by the logger instance are randomly sampled according to the provided sample rate (default 100f = all logs). **Note**: The Logcat logs are not sampled. |
| `build()` | Build a new logger instance with all options set. |

### Global configuration
Expand Down

0 comments on commit 4a4d22b

Please sign in to comment.