Class: Sidekiq::Logging::Pretty

Inherits:
Logger::Formatter
  • Object
show all
Defined in:
lib/patches/sidekiq.rb

Instance Method Summary collapse

Instance Method Details

#call(severity, time, progname, msg) ⇒ Object



7
8
9
10
# File 'lib/patches/sidekiq.rb', line 7

def call(severity, time, progname, msg)
  msg = "(TID-#{Thread.current.object_id.to_s(36)}#{context}) #{msg}"
  Smartkiosk::Common::Logging.format "Sidekiq", severity, time, progname, msg
end