/RMLogger

Logs output to the console like NSLog but has some extra features like colors.

Primary LanguageObjective-CMIT LicenseMIT

RMLogger

Build Status

Logs output to the console like NSLog but has some extra features like colors.

Add RMLogger to your project

The best way to use RMLogger is via CocoaPods by adding the following line to your pod file:

pod 'RMLogger'

Use RMLogger

To use RMLogger you have to import the RMLogger.h class:

#import <RMLogger.h>

The simplest way to log a message to the console looks like this:

RMLog(@"You log message");

Available log types:

Info message log

RMLogInfoMessage(@"This is just a simple information.");

log info message

Success message log

RMLogSuccessMessage(@"The image has been uploaded successfully.");

log info message

Error message log

RMLogErrorMessage(@"Failed to reach the server!");

log info message

Error log

RMLog(errorObject);

log info message



Don't hesitate to give feedback or create a pull request :)