Skip to content

Commit ebeb2bc

Browse files
committed
Smallish fix
1 parent 6b8fe1b commit ebeb2bc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

includes/logs/react-native-console-logging-integration.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ Console Logging integration is enabled by default which means calls to the `cons
66

77
To disable the integration, filter it out from the integrations array:
88

9-
````js
9+
```js
1010
Sentry.init({
1111
...,
1212
integrations(integrations) {
1313
return integrations.filter(i => i.name !== 'ConsoleLogs');
1414
},
1515
...
1616
})
17+
```
1718

1819
You can also filter out the automatically captured logs in `beforeSendLog`:
1920

@@ -29,4 +30,4 @@ Sentry.init({
2930
...
3031
})
3132

32-
````
33+
```

0 commit comments

Comments
 (0)