Class: Gitlab::SidekiqMiddleware::ArgumentsLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/sidekiq_middleware/arguments_logger.rb

Instance Method Summary collapse

Instance Method Details

#call(worker, job, queue) ⇒ Object


4
5
6
7
# File 'lib/gitlab/sidekiq_middleware/arguments_logger.rb', line 4

def call(worker, job, queue)
  Sidekiq.logger.info "arguments: #{job['args']}"
  yield
end