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:
Gareth Jones 2019-04-25 11:24:23 +10:00 committed by GitHub
commit d03bcae0f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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