Skip to content

Commit cb53090

Browse files
support for console log
1 parent ff82ed7 commit cb53090

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
0 Bytes
Binary file not shown.

packages/core/src/js/integrations/default.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable complexity */
2-
import { browserSessionIntegration } from '@sentry/browser';
2+
import { browserSessionIntegration, consoleLoggingIntegration } from '@sentry/browser';
33
import type { Integration } from '@sentry/core';
44
import type { ReactNativeClientOptions } from '../options';
55
import { 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());

0 commit comments

Comments
 (0)