From ba4ed69a90256ae00d474203ca9a12787e9bd193 Mon Sep 17 00:00:00 2001 From: Matheus Degiovani Date: Thu, 1 Apr 2021 09:14:20 -0300 Subject: [PATCH] Prettify --- app/main_dev/logging.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/app/main_dev/logging.js b/app/main_dev/logging.js index 09719a5819..576d4cc276 100644 --- a/app/main_dev/logging.js +++ b/app/main_dev/logging.js @@ -74,15 +74,17 @@ export function createLogger(debug) { }); if (debug) { - logger.add(new winston.transports.Console({ - level: "debug", - format: combine( - timestamp({ format: logTimestamp }), - splat(), - printf(logFormatter), - colorize({ all: true }) - ) - })); + logger.add( + new winston.transports.Console({ + level: "debug", + format: combine( + timestamp({ format: logTimestamp }), + splat(), + printf(logFormatter), + colorize({ all: true }) + ) + }) + ); } return logger;