class ANSI::Logger

ANSI::Logger

Extended variation of Ruby’s standard Logger library that supports color output.

log = ANSI::Logger.new

log.formatter do |severity, timestamp, progname, msg|
  ANSI::Logger::SIMPLE_FORMAT % [severity, msg]
end