var winston = require("winston"); module.exports = new (winston.Logger)({ transports: [ new (winston.transports.Console)({ colorize: true, timestamp: true, level: 'debug' }) ] });