bin/kameleon in kameleon-builder-2.0.0 vs bin/kameleon in kameleon-builder-2.1.0
- old
+ new
@@ -5,9 +5,14 @@
# Stdout/stderr should not buffer output
$stdout.sync = true
$stderr.sync = true
+require 'log4r-color'
+require 'log4r-color/configurator'
+
+# This is how we specify our levels
+Log4r::Configurator.custom_levels "DEBUG", "INFO", "PROGRESS_INFO", "NOTICE", "PROGRESS_NOTICE", "WARN", "ERROR", "PROGRESS_ERROR", "FATAL"
require 'kameleon'
require 'kameleon/cli'
# Force Thor to raise exceptions so we can exit non-zero.
ENV["THOR_DEBUG"] = "1"