Skip to content

Commit 666a146

Browse files
committed
Changelog entry fixed
1 parent 1afc4b6 commit 666a146

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@
1010

1111
### Features
1212

13-
- Add `onNativeLog` callback to intercept and forward native SDK logs to JavaScript console
14-
- The callback receives native log events with `level`, `component`, and `message` properties
15-
- Only works when `debug: true` is enabled in `Sentry.init`
16-
- Use `logWithoutTracing` inside the callback to prevent feedback loops with Sentry's console integration
17-
```js
18-
import * as Sentry from '@sentry/react-native';
13+
- Add `onNativeLog` callback to intercept and forward native SDK logs to JavaScript console ([#5622](https://github.com/getsentry/sentry-react-native/pull/5622))
14+
- The callback receives native log events with `level`, `component`, and `message` properties
15+
- Only works when `debug: true` is enabled in `Sentry.init`
16+
- Use `logWithoutTracing` inside the callback to prevent feedback loops with Sentry's console integration
17+
```js
18+
import * as Sentry from '@sentry/react-native';
1919

20-
Sentry.init({
20+
Sentry.init({
2121
debug: true,
2222
onNativeLog: ({ level, component, message }) => {
2323
// Use logWithoutTracing to avoid feedback loops
2424
Sentry.logWithoutTracing(
2525
`[Sentry Native] [${level.toUpperCase()}] [${component}] ${message}`
2626
);
2727
},
28-
});
29-
```
28+
});
29+
```
3030

3131
### Fixes
3232

0 commit comments

Comments
 (0)