Inherits from NSObject
Declared in MSFKLogger.h
MSFKLogger.m

Overview

A singleton object used for logging by the framework. By default, log messages are written to NSLog() in debug builds and are discarded otherwise. If a delegate is assigned, the formatted log messages are passed to the delegate instead.

Properties

delegate

The delegate to pass log messages to.

@property (nonatomic, weak) id<MSFKLoggerDelegate> delegate

Discussion

The delegate to pass log messages to.

Declared In

MSFKLogger.h

Class Methods

sharedInstance

Returns the MSFKLogger singleton instance.

+ (MSFKLogger *)sharedInstance

Discussion

Returns the MSFKLogger singleton instance.

Declared In

MSFKLogger.h

Instance Methods

logFromFunction:message:

Logs a message.

- (void)logFromFunction:(const char *)function message:(NSString *)format, ...

Parameters

function

The calling function, normally func.

format

The format string.

Discussion

Logs a message.

Declared In

MSFKLogger.h