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;

    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:(nonnull NSString *)tag
                       format:(nonnull NSString *)stringFormat
                         args:(struct __va_list_tag *)args;

    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:(nonnull NSString *)tag
                     format:(nonnull NSString *)stringFormat
                       args:(struct __va_list_tag *)args;

    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:(nonnull NSException *)exception;

    Parameters

    exception

    The thrown exception.

  • Handle caught exception with specified error message.

    Declaration

    Objective-C

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

    Parameters

    tag

    The string tag.

    exception

    The thrown exception.