Inherits from NSObject
Declared in TICDSLog.h

Overview

TICDLog is a utility class to provide the primary logging behavior for the TICoreDataSync framework.

To see output logged by the framework, set the verbosity greater than 0:

 [TICDSLog setVerbosity:<verbosityLevel>];

The higher the level, the more information you will see in the console. Examine the TICDSLogVerbosity entries in TICDSTypesAndEnums.h for specific values.

Tasks

Verbosity

Logging

Class Methods

logWithVerbosity:formatString:args:

Log some information (assuming DEBUG is set).

+ (void)logWithVerbosity:(NSInteger)someVerbosity formatString:(NSString *)formatString args:(va_list)args

Parameters

someVerbosity

The verbosity level of this information (if the current verbosity is less than this, the information won’t be logged).

formatString

The format string (using NSLog() format specifiers).

args

A correctly started va_list with the arguments to substitute into formatString.

Declared In

TICDSLog.h

logWithVerbosity:information:

Log some information (assuming DEBUG is set).

+ (void)logWithVerbosity:(NSInteger)someVerbosity information:(NSString *)formatString, ...

Parameters

someVerbosity

The verbosity level of this information (if the current verbosity is less than this, the information won’t be logged).

formatString

The format string (using NSLog() format specifiers).

...

A comma-separated list of arguments to substitute into formatString.

Declared In

TICDSLog.h

setVerbosity:

Sets the verbosity level for logging.

+ (void)setVerbosity:(NSInteger)verbosity

Parameters

verbosity

The verbosity level to use; specify TICDSLogVerbosityEveryStep to see all output, or check the TICDSTypesAndEnums.h file for a list.

Declared In

TICDSLog.h

verbosity

Returns the current verbosity level for logging.

+ (NSInteger)verbosity

Declared In

TICDSLog.h