<SYLogConnectorDelegate> Protocol Reference

Provides diagnostic logs from SDK by delegate methods. SYLogConnectorDelegate requires "Logging" key to be set properly in configuration, and include "DiagnosticsAppender", otherwise it will not receive messages. Example of configuration: NSDictionary* config = ... other values ... "Logging" : @["name" : @"global", @"classpath" : @"", @"appenders" : @["class" : @"DiagnosticsAppender", @"format" : @"levshort datetime msg
", @"time" : @"FTTz", @"level" : @"ProcedureCall" } ] } ] }; For other configuration details, see SYContext. More...

#import <SYLogConnector.h>

Inheritance diagram for <SYLogConnectorDelegate>:
Collaboration diagram for <SYLogConnectorDelegate>:

Instance Methods

(void) - logConnector:didReceiveMessage:withLogLevel:
 

Detailed Description

Provides diagnostic logs from SDK by delegate methods. SYLogConnectorDelegate requires "Logging" key to be set properly in configuration, and include "DiagnosticsAppender", otherwise it will not receive messages. Example of configuration: NSDictionary* config = ... other values ... "Logging" : @[

"name" : @"global", @"classpath" : @"", @"appenders" : @[

"class" : @"DiagnosticsAppender", @"format" : @"levshort datetime msg
", @"time" : @"FTTz", @"level" : @"ProcedureCall" } ] } ] }; For other configuration details, see SYContext.

Method Documentation

◆ logConnector:didReceiveMessage:withLogLevel:

- (void) logConnector: (nonnull SYLogConnector *)  connector
didReceiveMessage: (nonnull NSString *)  logMessage
withLogLevel: (SYLogLevel)  logLevel 
optional

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