mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Merge pull request #860 from bjornstar/fix-node-12-levels
fix(layout): Use level as a string for node v12
This commit is contained in:
commit
d03bcae0f7
@ -45,7 +45,7 @@ function timestampLevelAndCategory(loggingEvent, colour) {
|
||||
util.format(
|
||||
'[%s] [%s] %s - ',
|
||||
dateFormat.asString(loggingEvent.startTime),
|
||||
loggingEvent.level,
|
||||
loggingEvent.level.toString(),
|
||||
loggingEvent.categoryName
|
||||
),
|
||||
colour
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user