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



22
23
24
# File 'lib/sidekiq/logging.rb', line 22

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