Class: Hutch::Logging::HutchFormatter

Inherits:
Logger::Formatter
  • Object
show all
Defined in:
lib/hutch/logging.rb

Instance Method Summary collapse

Instance Method Details

#call(severity, time, program_name, message) ⇒ Object



7
8
9
# File 'lib/hutch/logging.rb', line 7

def call(severity, time, program_name, message)
  "#{time.utc.iso8601} #{Process.pid} #{severity} -- #{message}\n"
end