flatiron/winston — pull request #149 by pdobrev (2012-06-29 12:47:17+00:00)
Title: Allow multiple File transports for a logger

Makes this possible:

var logger = new (winston.Logger)({
transports: [
new (winston.transports.File) ({
level: 'info',
filename: 'log/access.log',
json: true
}),
new (winston.transports.File) ({
level: 'error',
filename: 'log/error.log',
json: true
})
]
});