Skip to content

Commit

Permalink
chore: removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
abhilash-sivan committed Nov 20, 2024
1 parent 7133fae commit c756449
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/collector/src/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,6 @@ exports.getLogger = function getLogger(loggerName, reInitFn) {
return /** @type {import('@instana/core/src/core').GenericLogger} */ (_logger);
};

/**
* @param {import('pino') | *} _logger
* @returns {boolean}
*/
function isPino(_logger) {
// _logger.hasOwnProperty('pino')
return _logger && _logger[Symbol.for('pino.logger')] === true;
}

/**
* @param {import('@instana/core/src/core').GenericLogger | *} _logger
* @returns {boolean}
Expand Down

0 comments on commit c756449

Please sign in to comment.