Module: Datadog::Tracing::Contrib::SemanticLogger::Patcher

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

Overview

Patcher enables patching of ‘semantic_logger’ 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/semantic_logger/patcher.rb', line 22

def patch
  ::SemanticLogger::Logger.include(Instrumentation)
end

.target_versionObject



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

def target_version
  Integration.version
end