winston npm package code example
Example: js winston npm
const winston = require('winston');
// for development
logger.add(new winston.transports.Console({
format: winston.format.simple(),
}));
const winston = require('winston');
// for development
logger.add(new winston.transports.Console({
format: winston.format.simple(),
}));