require 'active_support/concern'

module Cangaroo
  module LoggerHelper
    extend ActiveSupport::Concern

    def job_tags(tags = {})
      tags.merge!(job: self.class.to_s,
                  job_id: job_id,
                  connection: self.class.connection)
    end
  end
end

Add a logger helper module for jobs
Add a logger helper module for jobs
