class Sidekiq::Processor
Convert string to machine readable format
Public Instance Methods
log_context(job_hash)
click to toggle source
# File lib/rails_semantic_logger/extensions/sidekiq/sidekiq.rb, line 32 def log_context(job_hash) h = {jid: job_hash["jid"]} h[:bid] = job_hash["bid"] if job_hash["bid"] h[:queue] = job_hash["queue"] if job_hash["queue"] h end