From 36f97355a4dd2f53f0665e6a09b53c77c95d4735 Mon Sep 17 00:00:00 2001 From: Emily J Date: Thu, 8 Oct 2020 12:55:47 +1100 Subject: [PATCH] formatting changes --- bot/util/logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/util/logger.js b/bot/util/logger.js index 93ad88c..59c9c66 100644 --- a/bot/util/logger.js +++ b/bot/util/logger.js @@ -2,7 +2,7 @@ const { createLogger, format, transports, addColors } = require("winston"); const { combine, timestamp, printf, colorize } = format; const fmt = printf(({ level, message, timestamp }) => { - return timestamp + ' ' + level + ' ' + message; + return '[' + timestamp + '] ' + level + ' ' + message; }); const customLevels = {