MLLogger Class Reference

Inherits from NSObject
Conforms to MLLogger
Declared in MLLogger.h

Overview

MLLogger used to display logs.

+ currentLogger

Current logger that will be used to display log messages.

+ (id<MLLogger>)currentLogger

Return Value

the current logger

Declared In

MLLogger.h

+ setCurrentLogger:

Set the custom logger.

+ (void)setCurrentLogger:(id<MLLogger>)logger

Parameters

logger

Logger to set

Discussion

By default, an instance of MLLogger is used.

Declared In

MLLogger.h

+ logLevel

Log level that will be displayed.

+ (MLLogLevel)logLevel

Return Value

The current log level.

Discussion

@discussion - By default, it is set to MLLogLevelWarning.

Declared In

MLLogger.h

+ setLogLevel:

Sets the level of logging to display.

+ (void)setLogLevel:(MLLogLevel)level

Parameters

level

Log level to set

Discussion

@discussion - By default, it is set to MLLogLevelWarning.

Declared In

MLLogger.h