Typo in createLogger

This commit is contained in:
mmcwilliams 2020-01-14 13:33:13 -05:00
parent 3ca335b113
commit 888cd074e6
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ 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.timestamp({