File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/pino-transport/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import type { LogSeverityLevel } from '@sentry/core' ;
2- import { _INTERNAL_captureLog , isPrimitive , logger , normalize } from '@sentry/core' ;
2+ import { _INTERNAL_captureLog , debug , isPrimitive , normalize } from '@sentry/core' ;
33import type buildType from 'pino-abstract-transport' ;
44import * as pinoAbstractTransport from 'pino-abstract-transport' ;
55import { DEBUG_BUILD } from './debug-build' ;
@@ -95,7 +95,7 @@ interface PinoSourceConfig {
9595 * the stable Sentry SDK API and can be changed or removed without warning.
9696 */
9797export function createSentryPinoTransport ( options ?: SentryPinoTransportOptions ) : ReturnType < typeof buildType > {
98- DEBUG_BUILD && logger . log ( 'Initializing Sentry Pino transport' ) ;
98+ DEBUG_BUILD && debug . log ( 'Initializing Sentry Pino transport' ) ;
9999 const capturedLogLevels = new Set ( options ?. logLevels ?? DEFAULT_CAPTURED_LEVELS ) ;
100100
101101 return build (
You can’t perform that action at this time.
0 commit comments