File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/node-core/src/integrations Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- import { tracingChannel } from 'node:diagnostics_channel' ;
1+ import * as diagnosticsChannel from 'node:diagnostics_channel' ;
22import type { Integration , IntegrationFn , LogSeverityLevel } from '@sentry/core' ;
33import {
44 _INTERNAL_captureLog ,
@@ -122,8 +122,8 @@ const _pinoIntegration = defineIntegration((userOptions: DeepPartial<PinoOptions
122122 } ,
123123 } ) ;
124124
125- const injectedChannel = tracingChannel ( 'orchestrion:pino:pino-log' ) ;
126- const integratedChannel = tracingChannel ( 'pino_asJson' ) ;
125+ const injectedChannel = diagnosticsChannel . tracingChannel ( 'orchestrion:pino:pino-log' ) ;
126+ const integratedChannel = diagnosticsChannel . tracingChannel ( 'pino_asJson' ) ;
127127
128128 function onPinoStart ( self : Pino , args : PinoHookArgs , result : PinoResult ) : void {
129129 if ( ! shouldTrackLogger ( self ) ) {
You can’t perform that action at this time.
0 commit comments