No arg.label, just label
This commit is contained in:
parent
888cd074e6
commit
b144faa8e3
|
@ -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'
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue