Merge remote-tracking branch 'origin/master'

This commit is contained in:
mmcwilliams 2020-05-07 13:22:37 -04:00
commit f7d5d0e79a
1 changed files with 2 additions and 2 deletions

View File

@ -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'
}),