From 3dccfc3998d5b7e4f362e3a450433a0d273681c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Tue, 3 Jul 2018 15:23:06 +0200 Subject: [PATCH] no need of LOG_IN_CONSOLE, just use DEV_TOOLS env --- src/logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger.js b/src/logger.js index 8b303651..e2f64c76 100644 --- a/src/logger.js +++ b/src/logger.js @@ -34,7 +34,7 @@ const transports = [ }), ] -if (process.env.NODE_ENV !== 'production' || process.env.LOGS_IN_CONSOLE) { +if (process.env.NODE_ENV !== 'production' || process.env.DEV_TOOLS) { let consoleT if (typeof window === 'undefined') { // on Node we want a concise logger