Default winston log levels with message:
It's look's like yaml \o/
This is custom config for default winston console transform.
npm install winston-console-formatter
var winston = require('winston');
var toYAML = require('winston-console-formatter');
var logger = new winston.Logger({
level: 'silly'
});
logger.add(winston.transports.Console, toYAML.config());
logger.log('error', 'message');
logger.log('warn', 'message');
logger.log('info', 'message');
logger.log('verbose', 'message');
logger.log('debug', 'message');
logger.log('silly', 'message');