lib/rezept/logger.rb in rezept-0.0.2 vs lib/rezept/logger.rb in rezept-0.1.0
- old
+ new
@@ -51,11 +51,11 @@
def fatal(msg)
super { Rezept::TermColor.red(msg) }
end
- def error(progname = nil, method_name = nil, msg, backtrace)
- super(progname) { { method_name: method_name, message: msg, backtrace: backtrace } }
+ def error(msg)
+ super { Rezept::TermColor.red(msg) }
end
module Helper
def log(level, message)