File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed 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