SYLogConnector Class Reference

Provides diagnostic logs from SDK by delegate methods. More...

#import <SYLogConnector.h>

Inheritance diagram for SYLogConnector:
Collaboration diagram for SYLogConnector:

Instance Methods

(void) - sendTelemetryLog:
 Send log with telemetry data to server. More...
 
(void) - log:withLogLevel:
 
((unavailable("Use +[SYLogConnector shared] instead.") - __attribute__
 SYLogConnector is singleton, use [SYLogConnector shared] to access singleton instance. More...
 

Class Methods

(nonnull SYLogConnector *) + shared
 Returns the SYLogConnector singleton instance. More...
 
((unavailable("Use +[SYLogConnector shared] instead.") + __attribute__
 

Properties

id< SYLogConnectorDelegatedelegate
 SYLogConnector delegate. More...
 

Detailed Description

Provides diagnostic logs from SDK by delegate methods.

Method Documentation

◆ sendTelemetryLog:

- (void) sendTelemetryLog: (nonnull NSString *)  telemetryAppenderName

Send log with telemetry data to server.

Parameters
telemetryAppenderNameTelemetry log appender name defined used in json configuration, e.g. TelemetryAppender, GpsAppender

◆ log:withLogLevel:

- (void) log: (nonnull NSString *)  message
withLogLevel: (SYLogLevel)  logLevel 

◆ shared

+ (nonnull SYLogConnector*) shared

Returns the SYLogConnector singleton instance.

◆ __attribute__ [1/2]

- ((unavailable("Use +[SYLogConnector shared] instead.") __attribute__

SYLogConnector is singleton, use [SYLogConnector shared] to access singleton instance.

◆ __attribute__ [2/2]

+ ((unavailable("Use +[SYLogConnector shared] instead.") __attribute__

Property Documentation

◆ delegate

- (id<SYLogConnectorDelegate>) delegate
readwritenonatomicweak

SYLogConnector delegate.


The documentation for this class was generated from the following file: