Sha256: c419d410df3c2c0e2475605ca6fe6a86af2feee0121720b783c369b0da8aa7d3

Contents?: true

Size: 314 Bytes

Versions: 19

Compression:

Stored size: 314 Bytes

Contents

require "active_job/logging"

ActiveSupport::Notifications.unsubscribe("enqueue.active_job")

module ActiveJob
  module Logging
    class EnqueueLogSubscriber < LogSubscriber
      define_method :enqueue, instance_method(:enqueue)
    end
  end
end

ActiveJob::Logging::EnqueueLogSubscriber.attach_to(:active_job)

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
suspenders-1.56.1 templates/active_job.rb
suspenders-1.55.1 templates/active_job.rb
suspenders-1.55.0 templates/active_job.rb
suspenders-1.54.1 templates/active_job.rb
suspenders-1.54.0 templates/active_job.rb
suspenders-1.53.0 templates/active_job.rb
suspenders-1.52.0 templates/active_job.rb
suspenders-1.51.0 templates/active_job.rb
bulldozer-1.6.3 templates/active_job.rb
bulldozer-1.6.2 templates/active_job.rb
bulldozer-1.6.1 templates/active_job.rb
bulldozer-1.6.0 templates/active_job.rb
suspenders-1.50.0 templates/active_job.rb
suspenders-1.49.0 templates/active_job.rb
suspenders-1.48.0 templates/active_job.rb
suspenders-1.47.0 templates/active_job.rb
suspenders-1.46.0 templates/active_job.rb
welaika-suspenders-2.28.0 templates/active_job.rb
suspenders-1.45.0 templates/active_job.rb