iOS Charting Documentation - SciChart iOS Charts SDK v3.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:(NSString *)tag
                    format:(NSString *)stringFormat
                      args:(struct __va_list_tag *)args;

    Swift

    func logInfo(withTag tag: String!, format stringFormat: String!, args: CVaListPointer)

    Parameters

    tag

    The string tag.

    stringFormat

    The string format.

    args

    Thar optional args.

  • Logs warning message with the string format message with optional arguments.

    Declaration

    Objective-C

    - (void)logWarningWithTag:(NSString *)tag
                       format:(NSString *)stringFormat
                         args:(struct __va_list_tag *)args;

    Swift

    func logWarning(withTag tag: String!, format stringFormat: String!, args: CVaListPointer)

    Parameters

    tag

    The string tag.

    stringFormat

    The string format.

    args

    Thar optional args.

  • Logs error message with the string format message with optional arguments.

    Declaration

    Objective-C

    - (void)logErrorWithTag:(NSString *)tag
                     format:(NSString *)stringFormat
                       args:(struct __va_list_tag *)args;

    Swift

    func logError(withTag tag: String!, format stringFormat: String!, args: CVaListPointer)

    Parameters

    tag

    The string tag.

    stringFormat

    The string format.

    args

    Thar optional args.

  • Handle caught exception with specified error message.

    Declaration

    Objective-C

    - (void)handleException:(NSException *)exception;

    Swift

    func handle(_ exception: NSException!)

    Parameters

    exception

    The thrown exception.

  • Handle caught exception with specified error message.

    Declaration

    Objective-C

    - (void)handleException:(NSException *)exception withTag:(NSString *)tag;

    Swift

    func handle(_ exception: NSException!, withTag tag: String!)

    Parameters

    tag

    The string tag.

    exception

    The thrown exception.