iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIChartDebugLoggerFacade
@protocol ISCIChartDebugLoggerFacade <NSObject>
Defines the protocol to a logger facade. If you wish to receive debug log messages from SciChart, then set a logger instance via -[SCIChartDebugLogger setLoggerFacade:].
Warning
Please note, that logging will dramatically decrease performance, especially in a real-time scenario.-
Logs info message with the string format message with optional arguments.
Declaration
Objective-C
- (void)logInfoWithTag:(nonnull NSString *)tag format:(nonnull NSString *)stringFormat args:(struct __va_list_tag *)args;Swift
func logInfo(withTag tag: String, format stringFormat: String, args: CVaListPointer)Parameters
tagThe string tag.
stringFormatThe string format.
argsThar optional args.
-
Logs warning message with the string format message with optional arguments.
Declaration
Objective-C
- (void)logWarningWithTag:(nonnull NSString *)tag format:(nonnull NSString *)stringFormat args:(struct __va_list_tag *)args;Swift
func logWarning(withTag tag: String, format stringFormat: String, args: CVaListPointer)Parameters
tagThe string tag.
stringFormatThe string format.
argsThar optional args.
-
Logs error message with the string format message with optional arguments.
Declaration
Objective-C
- (void)logErrorWithTag:(nonnull NSString *)tag format:(nonnull NSString *)stringFormat args:(struct __va_list_tag *)args;Swift
func logError(withTag tag: String, format stringFormat: String, args: CVaListPointer)Parameters
tagThe string tag.
stringFormatThe string format.
argsThar optional args.
-
Handle caught exception with specified error message.
Declaration
Objective-C
- (void)handleException:(nonnull NSException *)exception;Swift
func handle(_ exception: NSException)Parameters
exceptionThe thrown exception.
-
Handle caught exception with specified error message.
Declaration
Objective-C
- (void)handleException:(nonnull NSException *)exception withTag:(nonnull NSString *)tag;Swift
func handle(_ exception: NSException, withTag tag: String)Parameters
tagThe string tag.
exceptionThe thrown exception.
View on GitHub