flatiron/winston — pull request #187 by jbrumwell (2012-10-18 15:59:17+00:00)
Title: Multiple loggers of same type

Allows for using multiple loggers of the same type, example;

var logger = new winston.Logger({
transports: [
new winston.transports.File({ filename: './logs/error.log', name: 'file.error', level: 'error' }),
new winston.transports.File({ filename: './logs/info.log', name: 'file.info', level: 'info' }),
new winston.transports.File({ filename: './logs/debug.log', name: 'file.debug', level: 'debug' })
]
});

Should close the following issues;

https://github.com/flatiron/winston/issues/167
https://github.com/flatiron/winston/issues/101