lib/run_loop/logging.rb in run_loop-1.5.5 vs lib/run_loop/logging.rb in run_loop-1.5.6.pre1

- old
+ new

@@ -57,10 +57,16 @@ if RunLoop::Environment.debug? puts self.magenta("DEBUG: #{msg}") if msg end end + # .log_info is already taken by the XTC logger. (>_O) + # green + def self.log_info2(msg) + puts self.green(" INFO: #{msg}") if msg + end + # red def self.log_error(msg) puts self.red("ERROR: #{msg}") if msg end @@ -98,7 +104,12 @@ end # @!visibility private def self.cyan(string) colorize(string, 36) + end + + # @!visibility private + def self.green(string) + colorize(string, 32) end end