Inherits from NSObject
Declared in AlfrescoLog.h

Overview

Default logging level

The default logging level is Info for release builds and Debug for debug builds. This can easily be overridden in your app’s .pch file, e.g.

define ALFRESCO_LOG_LEVEL AlfrescoLogLevelTrace

Tasks

Class Methods

sharedInstance

Returns the shared singleton

+ (AlfrescoLog *)sharedInstance

Discussion

Returns the shared singleton

Declared In

AlfrescoLog.h

Instance Methods

logDebug:

Logs a debug message using the given string and optional arguments

- (void)logDebug:(NSString *)format, ...

Discussion

Logs a debug message using the given string and optional arguments

Declared In

AlfrescoLog.h

logError:

Logs an error message using the given string and optional arguments

- (void)logError:(NSString *)format, ...

Discussion

Logs an error message using the given string and optional arguments

Declared In

AlfrescoLog.h

logErrorFromError:

Logs an error message using the given error object

- (void)logErrorFromError:(NSError *)error

Discussion

Logs an error message using the given error object

Declared In

AlfrescoLog.h

logInfo:

Logs an info message using the given string and optional arguments

- (void)logInfo:(NSString *)format, ...

Discussion

Logs an info message using the given string and optional arguments

Declared In

AlfrescoLog.h

logTrace:

Logs a trace message using the given string and optional arguments

- (void)logTrace:(NSString *)format, ...

Discussion

Logs a trace message using the given string and optional arguments

Declared In

AlfrescoLog.h

logWarning:

Logs a warning message using the given string and optional arguments

- (void)logWarning:(NSString *)format, ...

Discussion

Logs a warning message using the given string and optional arguments

Declared In

AlfrescoLog.h

stringForLogLevel:

Returns the string representation of the given log level

- (NSString *)stringForLogLevel:(AlfrescoLogLevel)logLevel

Discussion

Returns the string representation of the given log level

Declared In

AlfrescoLog.h