Method: OpenC3::Api#stop_raw_logging_interface

Defined in:
lib/openc3/api/interface_api.rb

#stop_raw_logging_interface(interface_name = 'ALL', scope: $openc3_scope, token: $openc3_token) ⇒ Object

Stop raw logging for an interface

Parameters:

  • interface_name (String) (defaults to: 'ALL')

    The name of the interface



96
97
98
99
100
101
102
103
104
105
# File 'lib/openc3/api/interface_api.rb', line 96

def stop_raw_logging_interface(interface_name = 'ALL', scope: $openc3_scope, token: $openc3_token)
  authorize(permission: 'system_set', interface_name: interface_name, scope: scope, token: token)
  if interface_name == 'ALL'
    get_interface_names().each do |interface_name|
      InterfaceTopic.stop_raw_logging(interface_name, scope: scope)
    end
  else
    InterfaceTopic.stop_raw_logging(interface_name, scope: scope)
  end
end