No arg.label, just label

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

View File

@ -16,7 +16,7 @@ function createLog (label, filename = null) {
} }
return new (createLogger)({ return new (createLogger)({
format: format.combine( format: format.combine(
format.label({ label : arg.label || 'intval3' }), format.label({ label : label || 'intval3' }),
format.timestamp({ format.timestamp({
format: 'YYYY-MM-DD HH:mm:ss' format: 'YYYY-MM-DD HH:mm:ss'
}), }),