Class: Cuniculus::Logger::Formatters::Standard

Inherits:
Base
  • Object
show all
Defined in:
lib/cuniculus/logger.rb

Instance Method Summary collapse

Methods inherited from Base

#tid

Instance Method Details

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



21
22
23
# File 'lib/cuniculus/logger.rb', line 21

def call(severity, time, _program_name, message)
  "#{time.utc.iso8601(3)} pid=#{::Process.pid} tid=#{tid} #{severity}: #{message}\n"
end