Sha256: 09412e5b35a8f3aa0335528c0b032fb84ba36b318f2ff6437b5596f70fc950f7

Contents?: true

Size: 284 Bytes

Versions: 44

Compression:

Stored size: 284 Bytes

Contents

# Patch ActiveJob logger
require "active_job/logging"

module ActiveJob::Logging # rubocop:disable ClassAndModuleChildren
  include Sapience::Loggable

  private

  alias_method :orig_tag_logger, :tag_logger

  def tag_logger(*tags, &block)
    logger.tagged(*tags, &block)
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
sapience-2.4.0 lib/sapience/extensions/active_job/logging.rb
sapience-2.3.5 lib/sapience/extensions/active_job/logging.rb
sapience-2.3.4 lib/sapience/extensions/active_job/logging.rb
sapience-2.3.3 lib/sapience/extensions/active_job/logging.rb
sapience-2.2.3 lib/sapience/extensions/active_job/logging.rb
sapience-2.2.1 lib/sapience/extensions/active_job/logging.rb
sapience-2.2.0 lib/sapience/extensions/active_job/logging.rb
sapience-2.1.0 lib/sapience/extensions/active_job/logging.rb
sapience-2.0.5 lib/sapience/extensions/active_job/logging.rb
sapience-2.0.4 lib/sapience/extensions/active_job/logging.rb
sapience-2.0.3 lib/sapience/extensions/active_job/logging.rb
sapience-2.0.2 lib/sapience/extensions/active_job/logging.rb
sapience-2.0.1 lib/sapience/extensions/active_job/logging.rb
sapience-2.0.0 lib/sapience/extensions/active_job/logging.rb
sapience-1.0.15 lib/sapience/extensions/active_job/logging.rb
sapience-1.0.14 lib/sapience/extensions/active_job/logging.rb
sapience-1.0.13 lib/sapience/extensions/active_job/logging.rb
sapience-1.0.12 lib/sapience/extensions/active_job/logging.rb
sapience-1.0.11 lib/sapience/extensions/active_job/logging.rb
sapience-1.0.10 lib/sapience/extensions/active_job/logging.rb