class Kozo::Logger::Formatter

Public Instance Methods

call(severity, _time, _progname, msg) click to toggle source
# File lib/kozo/logger.rb, line 23
def call(severity, _time, _progname, msg)
  abort("#{File.basename($PROGRAM_NAME)}: #{msg[0].downcase}#{msg[1..]}") if severity == "FATAL"

  "#{msg}\n"
end