Class: Sidekiq::Logger::Formatters::WithoutTimestamp

Inherits:
Pretty
  • Object
show all
Defined in:
lib/sidekiq/logger.rb

Constant Summary

Constants inherited from Base

Base::COLORS

Instance Method Summary collapse

Methods inherited from Base

#format_context, #tid

Instance Method Details

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



65
66
67
# File 'lib/sidekiq/logger.rb', line 65

def call(severity, time, program_name, message)
  "#{COLORS[severity]} pid=#{::Process.pid} tid=#{tid}#{format_context}: #{message}\n"
end