Sha256: 9c945a526c12bb893dc32e30c69e9bf2f6de4d238db3ea64dfc3a0cd17846147

Contents?: true

Size: 227 Bytes

Versions: 7

Compression:

Stored size: 227 Bytes

Contents

# Patch ActiveJob logger
require "active_job/logging"

module ActiveJob
  module Logging
    include SemanticLogger::Loggable

    private

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_semantic_logger-4.6.1 lib/rails_semantic_logger/extensions/active_job/logging.rb
rails_semantic_logger-4.6.0 lib/rails_semantic_logger/extensions/active_job/logging.rb
rails_semantic_logger-4.5.1 lib/rails_semantic_logger/extensions/active_job/logging.rb
rails_semantic_logger-4.5.0 lib/rails_semantic_logger/extensions/active_job/logging.rb
rails_semantic_logger-4.4.6 lib/rails_semantic_logger/extensions/active_job/logging.rb
rails_semantic_logger-4.4.5 lib/rails_semantic_logger/extensions/active_job/logging.rb
rails_semantic_logger-4.4.4 lib/rails_semantic_logger/extensions/active_job/logging.rb