From 00c806aa0adb907f9b7691d2fe3644dd5c9b9b6a Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Fri, 2 Oct 2020 11:11:01 +0200 Subject: [PATCH] Fix log level output --- src/Logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Logger.ts b/src/Logger.ts index e7897ce..fd3f249 100644 --- a/src/Logger.ts +++ b/src/Logger.ts @@ -87,7 +87,7 @@ export default class Logger { const shouldSaveToDB = level <= this.dbLogLevel; - let output = `[${level}] `; + let output = `[${LogLevel[level]}] `; const pad = output.length; const logId = Buffer.alloc(16);