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>
Instance Methods | |
(void) | - logConnector:didReceiveMessage:withLogLevel: |
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.
|
optional |