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

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

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

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 is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

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