class Populus::DefaultLoggerFormatter

Constants

COLOR_CODE

Public Instance Methods

call(severity, time, progname, msg) click to toggle source
Calls superclass method
# File lib/populus/default_logger.rb, line 13
def call(severity, time, progname, msg)
  s = super
  s[0] = ("%5s" % severity).colorize(:color => COLOR_CODE[severity])
  s
end