Sha256: 57541fedd4327db242f9ff9539b43c16432b900e8867f7bc354375c74b8501f8
Contents?: true
Size: 587 Bytes
Versions: 4
Compression:
Stored size: 587 Bytes
Contents
# typed: false require 'datadog/tracing' module Datadog module Tracing module Contrib module ActiveJob # Active Job log injection wrapped around job execution module LogInjection def self.included(base) base.class_eval do around_perform do |_, block| if logger.respond_to?(:tagged) logger.tagged(Tracing.log_correlation, &block) else block.call end end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems