Class: Upperkut::Logging::DefaultFormatter
- Inherits:
-
Logger::Formatter
- Object
- Logger::Formatter
- Upperkut::Logging::DefaultFormatter
- Defined in:
- lib/upperkut/logging.rb
Instance Method Summary collapse
Instance Method Details
#call(severity, time, _program_name, message) ⇒ Object
8 9 10 11 |
# File 'lib/upperkut/logging.rb', line 8 def call(severity, time, _program_name, ) "upperkut: #{time.utc.iso8601(3)} hostname=#{Socket.gethostname} "\ "pid=#{::Process.pid} severity=#{severity} #{()}\n" end |