Browse Source

no need of LOG_IN_CONSOLE, just use DEV_TOOLS env

master
Gaëtan Renaudeau 7 years ago
parent
commit
3dccfc3998
  1. 2
      src/logger.js

2
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

Loading…
Cancel
Save