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
-
.patch ⇒ Object
patch applies our patch.
- .target_version ⇒ Object
Methods included from Patcher
Class Method Details
.patch ⇒ Object
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_version ⇒ Object
17 18 19 |
# File 'lib/datadog/tracing/contrib/semantic_logger/patcher.rb', line 17 def target_version Integration.version end |