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 1
1
import 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' ;
3
3
import type buildType from 'pino-abstract-transport' ;
4
4
import * as pinoAbstractTransport from 'pino-abstract-transport' ;
5
5
import { DEBUG_BUILD } from './debug-build' ;
@@ -95,7 +95,7 @@ interface PinoSourceConfig {
95
95
* the stable Sentry SDK API and can be changed or removed without warning.
96
96
*/
97
97
export 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' ) ;
99
99
const capturedLogLevels = new Set ( options ?. logLevels ?? DEFAULT_CAPTURED_LEVELS ) ;
100
100
101
101
return build (
You can’t perform that action at this time.
0 commit comments