Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f7d5d0e79a
|
@ -14,9 +14,9 @@ function createLog (label, filename = null) {
|
|||
if (filename !== null) {
|
||||
transportsArr.push( new (transports.File)({ label : label, filename : filename }) )
|
||||
}
|
||||
return new (winston.createLogger)({
|
||||
return new (createLogger)({
|
||||
format: format.combine(
|
||||
format.label({ label : arg.label || 'intval3' }),
|
||||
format.label({ label : label || 'intval3' }),
|
||||
format.timestamp({
|
||||
format: 'YYYY-MM-DD HH:mm:ss'
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue