From d27ab74ef119c843c9cf8c086d22d7a333e2d1ea Mon Sep 17 00:00:00 2001 From: brunosimon Date: Sun, 30 Jul 2017 14:29:44 +0200 Subject: [PATCH] :sparkles: Add config log --- lib/app/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/app/index.js b/lib/app/index.js index 0b54b85..d0b918d 100644 --- a/lib/app/index.js +++ b/lib/app/index.js @@ -139,6 +139,16 @@ class App // Save this.config = config + + // Debug + if(this.config.debug >= 1) + { + for(const _configKey in this.config) + { + const _configValue = '' + this.config[_configKey] + console.log('app > config'.green.bold + ' - ' + _configKey.cyan + ' - ' + _configValue.cyan) + } + } } /**