Sha256: 9c55d4efd7312784fa027908193c4ccb14734869b9237e47f38459bbbce60ec3
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
require 'ddtrace/contrib/patcher' require 'ddtrace/contrib/lograge/instrumentation' module Datadog module Contrib # Datadog Lograge integration. module Lograge # Patcher enables patching of 'lograge' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end # patch applies our patch def patch ::Lograge::LogSubscribers::Base.include(Instrumentation) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-0.51.1 | lib/ddtrace/contrib/lograge/patcher.rb |
ddtrace-0.51.0 | lib/ddtrace/contrib/lograge/patcher.rb |