File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/opentelemetry-sdk-node/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- import { TextMapPropagator } from '@opentelemetry/api' ;
17+ import { diag , TextMapPropagator } from '@opentelemetry/api' ;
1818import { metrics } from '@opentelemetry/api-metrics' ;
1919import { ContextManager } from '@opentelemetry/api' ;
2020import { MeterConfig , MeterProvider } from '@opentelemetry/metrics' ;
@@ -103,7 +103,7 @@ export class NodeSDK {
103103 if ( configuration . instrumentations ) {
104104 instrumentations = configuration . instrumentations ;
105105 } else if ( configuration . plugins ) {
106- console . error ( 'plugins option is deprecated' ) ;
106+ diag . error ( 'plugins option is deprecated' ) ;
107107 instrumentations = configuration . plugins ;
108108 }
109109 this . _instrumentations = instrumentations ;
You can’t perform that action at this time.
0 commit comments