Class: Wurk::Logger::Formatters::Pretty
- Defined in:
- lib/wurk/logger.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#call(severity, time, _program_name, message) ⇒ Object
42 43 44 45 |
# File 'lib/wurk/logger.rb', line 42 def call(severity, time, _program_name, ) "#{SEVERITY_COLORS[severity]} #{time.utc.iso8601(3)} pid=#{::Process.pid} " \ "tid=#{tid}#{format_context}: #{}\n" end |