RMLogger
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.");
Success message log
RMLogSuccessMessage(@"The image has been uploaded successfully.");
Error message log
RMLogErrorMessage(@"Failed to reach the server!");
Error log
RMLog(errorObject);
Don't hesitate to give feedback or create a pull request :)