Skip to content

Commit e86f6f2

Browse files
committed
Ensure logger is exported from node-core not core in the node sdk
1 parent f849070 commit e86f6f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev-packages/e2e-tests/test-applications/node-express/tests/logs.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect, test } from '@playwright/test';
22
import { waitForEnvelopeItem } from '@sentry-internal/test-utils';
3-
import type { SerializedLog, SerializedLogContainer } from '@sentry/core';
3+
import type { SerializedLogContainer } from '@sentry/core';
44

55
test('should send logs', async ({ baseURL }) => {
66
const logEnvelopePromise = waitForEnvelopeItem('node-express', envelope => {

packages/node/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export {
5454
isEnabled,
5555
getGlobalScope,
5656
lastEventId,
57-
logger,
5857
close,
5958
createTransport,
6059
flush,
@@ -149,6 +148,7 @@ export type {
149148
} from '@sentry/core';
150149

151150
export {
151+
logger,
152152
nodeContextIntegration,
153153
contextLinesIntegration,
154154
localVariablesIntegration,

0 commit comments

Comments
 (0)