Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function logVersionInfo () {
var versions = {
nodeJS: process.versions.node,
sematextDockerAgent: require('../package.json').version,
logseneJS: require('logsene-js/package.json').version,
dockerLoghose: require('docker-loghose/package.json').version,
dockerStats: require('docker-stats/package.json').version,
dockerEvents: require('docker-events/package.json').version
}
SpmAgent.Logger.info('module versions:' + JSON.stringify(versions, null, '\t'))
}