Typo in createLogger
This commit is contained in:
parent
3ca335b113
commit
888cd074e6
|
@ -14,7 +14,7 @@ function createLog (label, filename = null) {
|
||||||
if (filename !== null) {
|
if (filename !== null) {
|
||||||
transportsArr.push( new (transports.File)({ label : label, filename : filename }) )
|
transportsArr.push( new (transports.File)({ label : label, filename : filename }) )
|
||||||
}
|
}
|
||||||
return new (winston.createLogger)({
|
return new (createLogger)({
|
||||||
format: format.combine(
|
format: format.combine(
|
||||||
format.label({ label : arg.label || 'intval3' }),
|
format.label({ label : arg.label || 'intval3' }),
|
||||||
format.timestamp({
|
format.timestamp({
|
||||||
|
|
Loading…
Reference in New Issue