CycoPH/winston-filerotatedate — pull request #2 by parvez (2014-06-23 23:04:48+00:00)
Title: Support multiple instances of transport

Allows the use of name so that multiple instances of the transport is possible.

new (winston.transports.FileRotateDate)({
name: "ops_log",
level: "info",
filename: /var/log/ops.log,
timestamp: true,
json: false,
maxsize: 26214400
}),
new (winston.transports.FileRotateDate)({
name: "user_log",
level: "user",
filename: /var/log/user.log,
timestamp: true,
json: false,
maxsize: 26214400
})