Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abhilash-sivan committed Dec 17, 2024
1 parent d943c30 commit 6bcd53d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/collector/src/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ try {

// @ts-ignore
const pino = require('pino');
// @ts-ignore
const { logger } = require('@instana/core');
const pinoToAgentStream = require('./agent/loggerToAgentStream');

Expand All @@ -44,6 +45,7 @@ exports.init = function init(config, isReInit) {
parentLogger = config.logger;
} else {
// No custom logger has been provided; create a new pino logger as the parent logger for all loggers
// @ts-ignore
parentLogger = pino({
name: '@instana/collector',
base: {
Expand All @@ -67,6 +69,7 @@ exports.init = function init(config, isReInit) {
}
};

// @ts-ignore
parentLogger = pino(
{
...parentLogger.levels,
Expand Down

0 comments on commit 6bcd53d

Please sign in to comment.