diff --git a/platform-includes/logs/options/react-native.mdx b/platform-includes/logs/options/react-native.mdx index 26cb75ac3822e4..759530e608b30d 100644 --- a/platform-includes/logs/options/react-native.mdx +++ b/platform-includes/logs/options/react-native.mdx @@ -1,20 +1,18 @@ #### beforeSendLog -To filter logs, or update them before they are sent to Sentry, you can use the `_experiments.beforeSendLog` option. +To filter logs, or update them before they are sent to Sentry, you can use the `beforeSendLog` option. ```js Sentry.init({ dsn: "___PUBLIC_DSN___", - _experiments: { - enableLogs: true, - beforeSendLog: (log) => { - if (log.level === "info") { - // Filter out all info logs - return null; - } + enableLogs: true, + beforeSendLog: (log) => { + if (log.level === "info") { + // Filter out all info logs + return null; + } - return log; - }, + return log; }, }); ``` diff --git a/platform-includes/logs/requirements/react-native.mdx b/platform-includes/logs/requirements/react-native.mdx index 0bc43d14327c14..b90f7cb95a3d36 100644 --- a/platform-includes/logs/requirements/react-native.mdx +++ b/platform-includes/logs/requirements/react-native.mdx @@ -1 +1 @@ - + diff --git a/platform-includes/logs/setup/react-native.mdx b/platform-includes/logs/setup/react-native.mdx index 6d407dfbcd0419..99356aaa29e8cc 100644 --- a/platform-includes/logs/setup/react-native.mdx +++ b/platform-includes/logs/setup/react-native.mdx @@ -1,9 +1,9 @@ -To enable logging, you need to initialize the SDK with the `_experiments.enableLogs` option set to `true`. +To enable logging, you need to initialize the SDK with the `enableLogs` option set to `true`. ```js Sentry.init({ dsn: "___PUBLIC_DSN___", // Enable logs to be sent to Sentry - _experiments: { enableLogs: true }, + enableLogs: true, }); ```