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