File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1010
1111### Features
1212
13+ - Adds Console logs as Sentry Logs. ([ #5261 ] ( https://github.com/getsentry/sentry-react-native/pull/5261 ) )
1314- Adds support for ` propagateTraceparent ` ([ #5277 ] ( https://github.com/getsentry/sentry-react-native/pull/5227 ) )
1415
1516### Fixes
Original file line number Diff line number Diff line change 11/* eslint-disable complexity */
2- import { browserSessionIntegration } from '@sentry/browser' ;
2+ import { browserSessionIntegration , consoleLoggingIntegration } from '@sentry/browser' ;
33import type { Integration } from '@sentry/core' ;
44import type { ReactNativeClientOptions } from '../options' ;
55import { reactNativeTracingIntegration } from '../tracing' ;
@@ -87,6 +87,7 @@ export function getDefaultIntegrations(options: ReactNativeClientOptions): Integ
8787 integrations . push ( modulesLoaderIntegration ( ) ) ;
8888 if ( options . enableLogs ) {
8989 integrations . push ( logEnricherIntegration ( ) ) ;
90+ integrations . push ( consoleLoggingIntegration ( ) ) ;
9091 }
9192 if ( options . attachScreenshot ) {
9293 integrations . push ( screenshotIntegration ( ) ) ;
You can’t perform that action at this time.
0 commit comments