lib/activehook/log.rb in activehook-0.1.0 vs lib/activehook/log.rb in activehook-0.1.3
- old
+ new
@@ -11,10 +11,10 @@
class Log
def initialize
@log = ::Logger.new(STDOUT)
@log.formatter = proc do |_severity, datetime, _progname, msg|
- "[ #{datetime} ] #{msg}\n"
+ "#{msg}\n"
end
end
def info(msg)
@log.info("[ \e[32mOK\e[0m ] #{msg}")