Class: Shoryuken::Logging::Pretty
- Defined in:
- lib/shoryuken/logging.rb
Instance Method Summary collapse
-
#call(severity, time, _program_name, message) ⇒ Object
Provide a call() method that returns the formatted message.
Methods inherited from Base
Instance Method Details
#call(severity, time, _program_name, message) ⇒ Object
Provide a call() method that returns the formatted message.
21 22 23 |
# File 'lib/shoryuken/logging.rb', line 21 def call(severity, time, _program_name, ) "#{time.utc.iso8601} #{Process.pid} TID-#{tid}#{context} #{severity}: #{}\n" end |