Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
info: (msg, opts = {}) => {
if (opts.withAnalytics) {
Countly.add_event({
key: opts.withAnalytics,
count: 1
})
}
logger.info(msg)
},
error: (err) => {
Countly.log_error(err)
logger.error(err)
}
}