Sha256: 0eace7b28c1185e68f4803e12f421290537ff77a9c9c39cdc1c4cd04f001e578

Contents?: true

Size: 304 Bytes

Versions: 16

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true
# Patch ActiveJob logger
require "active_job/logging"

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

  private

  alias orig_tag_logger tag_logger

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sapience-3.0 lib/sapience/extensions/active_job/logging.rb
sapience-2.15 lib/sapience/extensions/active_job/logging.rb
sapience-2.14 lib/sapience/extensions/active_job/logging.rb
sapience-2.13 lib/sapience/extensions/active_job/logging.rb
sapience-2.12 lib/sapience/extensions/active_job/logging.rb
sapience-2.11 lib/sapience/extensions/active_job/logging.rb
sapience-2.10 lib/sapience/extensions/active_job/logging.rb
sapience-2.9.1 lib/sapience/extensions/active_job/logging.rb
sapience-2.8 lib/sapience/extensions/active_job/logging.rb
sapience-2.7.0 lib/sapience/extensions/active_job/logging.rb
sapience-2.6.1 lib/sapience/extensions/active_job/logging.rb
sapience-2.6.0 lib/sapience/extensions/active_job/logging.rb
sapience-2.5.4 lib/sapience/extensions/active_job/logging.rb
sapience-2.5.3 lib/sapience/extensions/active_job/logging.rb
sapience-2.5.2 lib/sapience/extensions/active_job/logging.rb
sapience-2.5.0 lib/sapience/extensions/active_job/logging.rb