Skip to content

packatino/RMLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :)

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors