Fix log level output

This commit is contained in:
Alice Gaudon 2020-10-02 11:11:01 +02:00
parent bb100b3c13
commit 00c806aa0a

View File

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