Module: LaunchDarkly::Impl::DataSystem::DiagnosticSource

Defined in:
lib/ldclient-rb/impl/data_system.rb

Overview

Mixin that defines the required methods for components that can receive a diagnostic accumulator. Components that include this mixin can report diagnostic information to LaunchDarkly for monitoring SDK performance and behavior.

Application code should not need to implement this directly; it is used internally by the SDK.

Since:

  • 5.5.0

Instance Method Summary collapse

Instance Method Details

#set_diagnostic_accumulator(diagnostic_accumulator) ⇒ void

This method returns an undefined value.

Set the diagnostic_accumulator to be used for reporting diagnostic events.

Parameters:

Raises:

  • (NotImplementedError)

Since:

  • 5.5.0



209
210
211
# File 'lib/ldclient-rb/impl/data_system.rb', line 209

def set_diagnostic_accumulator(diagnostic_accumulator)
  raise NotImplementedError, "#{self.class} must implement #set_diagnostic_accumulator"
end