Fix log level output
This commit is contained in:
parent
bb100b3c13
commit
00c806aa0a
@ -87,7 +87,7 @@ export default class Logger {
|
|||||||
|
|
||||||
const shouldSaveToDB = level <= this.dbLogLevel;
|
const shouldSaveToDB = level <= this.dbLogLevel;
|
||||||
|
|
||||||
let output = `[${level}] `;
|
let output = `[${LogLevel[level]}] `;
|
||||||
const pad = output.length;
|
const pad = output.length;
|
||||||
|
|
||||||
const logId = Buffer.alloc(16);
|
const logId = Buffer.alloc(16);
|
||||||
|
Loading…
Reference in New Issue
Block a user