+
+
+
+
+ daemonInstanceLoggingGet
+ +Get logging information for this instance
+ ++
/sdrdaemon/logging
+ +
Usage and SDK Samples
+ + + +
+
+
+
+
+ curl -X GET "http://localhost/sdrdaemon/logging"
+
+
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.DaemonApi;
+
+import java.io.File;
+import java.util.*;
+
+public class DaemonApiExample {
+
+ public static void main(String[] args) {
+
+ DaemonApi apiInstance = new DaemonApi();
+ try {
+ LoggingInfo result = apiInstance.daemonInstanceLoggingGet();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DaemonApi#daemonInstanceLoggingGet");
+ e.printStackTrace();
+ }
+ }
+}
+
+
+
+ import SWGSDRangel.api.DaemonApi;
+
+public class DaemonApiExample {
+
+ public static void main(String[] args) {
+ DaemonApi apiInstance = new DaemonApi();
+ try {
+ LoggingInfo result = apiInstance.daemonInstanceLoggingGet();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DaemonApi#daemonInstanceLoggingGet");
+ e.printStackTrace();
+ }
+ }
+}
+
+
+
+
+DaemonApi *apiInstance = [[DaemonApi alloc] init];
+
+[apiInstance daemonInstanceLoggingGetWithCompletionHandler:
+ ^(LoggingInfo output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+
+
+
+
+ var SdRangel = require('sd_rangel');
+
+var api = new SdRangel.DaemonApi()
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.daemonInstanceLoggingGet(callback);
+
+
+
+
+ using System;
+using System.Diagnostics;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
+
+namespace Example
+{
+ public class daemonInstanceLoggingGetExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new DaemonApi();
+
+ try
+ {
+ LoggingInfo result = apiInstance.daemonInstanceLoggingGet();
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DaemonApi.daemonInstanceLoggingGet: " + e.Message );
+ }
+ }
+ }
+}
+
+
+
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\Api\DaemonApi();
+
+try {
+ $result = $api_instance->daemonInstanceLoggingGet();
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling DaemonApi->daemonInstanceLoggingGet: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+
+
+ use Data::Dumper;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::DaemonApi;
+
+my $api_instance = SWGSDRangel::DaemonApi->new();
+
+eval {
+ my $result = $api_instance->daemonInstanceLoggingGet();
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling DaemonApi->daemonInstanceLoggingGet: $@\n";
+}
+
+
+ from __future__ import print_statement
+import time
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = swagger_sdrangel.DaemonApi()
+
+try:
+ api_response = api_instance.daemon_instance_logging_get()
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling DaemonApi->daemonInstanceLoggingGet: %s\n" % e)
+ Parameters
+ + + + + + +Responses
+Status: 200 - Success
+ + + +
+
+
+
+
+
+
+
+
+ Status: 500 - Error
+ + + +
+
+
+
+
+
+
+
+
+ Status: 501 - Function not implemented
+ + + +
+
+
+
+
+
+
+
+
+