lib/stack.rb in stack-kicker-0.0.20 vs lib/stack.rb in stack-kicker-0.0.21
- old
+ new
@@ -50,9 +50,13 @@
def Stack.log_level(level)
Logger.debug { "Setting the Logger.level to #{level}" }
Logger.level = level
end
+ def Stack.log_format(format_proc)
+ Logger.formatter = format_proc
+ end
+
def Stack.show_stacks(stackfile = 'Stackfile')
# our local config file
config_raw = File.read(stackfile)
eval(config_raw)