Class: Wurk::Logger::Formatters::Pretty
- Defined in:
- lib/wurk/logger.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#call(severity, time, _program_name, message) ⇒ Object
80 81 82 83 84 |
# File 'lib/wurk/logger.rb', line 80 def call(severity, time, _program_name, ) # One literal, not two joined by `\`: Ruby builds each half of a # continued string and then a third to join them. "#{SEVERITY_COLORS[severity]} #{time.utc.iso8601(3)} #{pid_tag} tid=#{tid}#{format_context}: #{}\n" end |