Module: Contrast::Agent::Patching::Policy::AfterLoadPatcher

Includes:
Components::Logger::InstanceMethods
Included in:
Patcher
Defined in:
lib/contrast/agent/patching/policy/after_load_patcher.rb

Overview

Some modules diverge from our generic instrumentation and require custom instrumentation after they’ve been loaded

Instance Method Summary collapse

Methods included from Components::Logger::InstanceMethods

#cef_logger, #logger

Instance Method Details

#catchup_after_load_patchesObject

After initialization run a catchup check to instrument any already loaded modules we care about



21
22
23
24
25
# File 'lib/contrast/agent/patching/policy/after_load_patcher.rb', line 21

def catchup_after_load_patches
  apply_require_patches!
  apply_direct_patches!
  apply_load_patches!
end