Class: Sidekiq::Logging::WithoutTimestamp

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

Constant Summary

Constants inherited from Pretty

Pretty::SPACE

Instance Method Summary collapse

Methods inherited from Pretty

#context

Instance Method Details

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



24
25
26
# File 'lib/sidekiq/logging.rb', line 24

def call(severity, time, program_name, message)
  "#{::Process.pid} TID-#{Thread.current.object_id.to_s(36)}#{context} #{severity}: #{message}\n"
end