diff --git a/lib/utils/util.js b/lib/utils/util.js index b66f7caf..9b020c6e 100644 --- a/lib/utils/util.js +++ b/lib/utils/util.js @@ -548,6 +548,9 @@ const Util = { info: 'info', debug: 'debug' }; + + level = level || process.env.MCR_LOGGING; + const type = types[level] || types.info; Util.loggingType = type; Util.loggingLevel = Util.loggingLevels[type];