From c48edec643b3bf573fa94a8c18ce7cf3c4c0d705 Mon Sep 17 00:00:00 2001 From: Josh Creek Date: Thu, 5 Nov 2020 23:36:32 +0000 Subject: [PATCH] feat(*): Enable console logging even in production so Jord can see logs easily --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 14e4a86..8ed368c 100644 --- a/index.js +++ b/index.js @@ -71,11 +71,11 @@ const logger = winston.createLogger({ // If we're not in production then log to the `console` with the format: // `${info.level}: ${info.message} JSON.stringify({ ...rest }) ` // -if (process.env.NODE_ENV !== 'production') { +//if (process.env.NODE_ENV !== 'production') { logger.add(new winston.transports.Console({ format: winston.format.simple(), })); -} +//} let playerQueue = []; let pokemonName = '';