Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
data: logData,
level: this.levelToName[logData.level]
};
Logs.insert(avalog);
});
}
const streams = [
{
type: "raw",
stream: new BunyanMongo()
}
];
const Avalogger = bunyan.createLogger({
level,
name: "Avalara",
streams
});
export default Avalogger;