Module: Datadog::Tracing::Contrib::Lograge::Patcher

Includes:
Patcher
Defined in:
lib/datadog/tracing/contrib/lograge/patcher.rb

Overview

Patcher enables patching of ‘lograge’ module.

Class Method Summary collapse

Methods included from Patcher

included

Class Method Details

.patchObject

patch applies our patch



22
23
24
# File 'lib/datadog/tracing/contrib/lograge/patcher.rb', line 22

def patch
  ::Lograge::LogSubscribers::Base.include(Instrumentation)
end

.target_versionObject



17
18
19
# File 'lib/datadog/tracing/contrib/lograge/patcher.rb', line 17

def target_version
  Integration.version
end