Closed Shadownc closed 6 years ago
winston version 3.0.0 when I try it:
transports: [ winston.createLogger({ transports: [ new winston.transports.Console({ json: true, colorize: true }), new winston.transports.File({ filename: 'logs/success.log' }) ] }) ] })) //winston.Logger is not a constructor
Duplicate of https://github.com/bithavoc/express-winston/issues/175, express winston is not compatible with winston 3
winston version 3.0.0 when I try it: