Skip to content

s4nchez/LogIO-CocoaLumberjack

Repository files navigation

LogIO-CocoaLumberjack

Version Platform Build Status

A log.io logger for CocoaLumberjack.

screenshot

Installation

Using cocoapods

Add the following line to your Podfile:

pod "LogIO-CocoaLumberjack"

Manual installation

Simply clone this repository and add the files from the Classes directory to your project.

Usage

Just add the logger to CocoaLumberjack:

[DDLog addLogger:[LogIOLogger sharedInstance]];

Then, configure your node, stream and destination server:

NSString *deviceName = [[UIDevice currentDevice] name];
NSString *appName = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDisplayName"];
[LogIOLogger configureNode:deviceName stream:appName];
[LogIOLogger connectTo:@"localhost" port:28777];

About

Log.io appender for CocoaLumberjack

Resources

License

Stars

Watchers

Forks

Packages

No packages published