module Datadog::Contrib::Lograge::Patcher

Patcher enables patching of 'lograge' module.

Public Instance Methods

patch() click to toggle source

patch applies our patch

# File lib/ddtrace/contrib/lograge/patcher.rb, line 20
def patch
  ::Lograge::LogSubscribers::Base.include(Instrumentation)
end
target_version() click to toggle source
# File lib/ddtrace/contrib/lograge/patcher.rb, line 15
def target_version
  Integration.version
end