Sha256: 1afffbb11679b5c4300bb76aa552d2ee16b8efb1f6e3fce129255094f66bc7fb

Contents?: true

Size: 256 Bytes

Versions: 5

Compression:

Stored size: 256 Bytes

Contents

# Patch ActiveJob logger
require "active_job/logging"

module ActiveJob
  module Logging
    include SemanticLogger::Loggable

    private

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_semantic_logger-4.12.0 lib/rails_semantic_logger/extensions/active_job/logging.rb
rails_semantic_logger-4.11.0 lib/rails_semantic_logger/extensions/active_job/logging.rb
rails_semantic_logger-4.10.0 lib/rails_semantic_logger/extensions/active_job/logging.rb
rails_semantic_logger-4.9.0 lib/rails_semantic_logger/extensions/active_job/logging.rb
rails_semantic_logger-4.6.2 lib/rails_semantic_logger/extensions/active_job/logging.rb