Latest 0.1.3
Homepage https://github.com/s4nchez/LogIO-CocoaLumberjack
License MIT
Platforms ios 5.0, requires ARC
Dependencies CocoaAsyncSocket, CocoaLumberjack
Authors

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];

Latest podspec

{
    "name": "LogIO-CocoaLumberjack",
    "version": "0.1.3",
    "summary": "A log.io appender for CocoaLumberjack.",
    "description": "A [log.io](http://logio.org/) appender for [CocoaLumberjack](https://github.com/CocoaLumberjack/)",
    "homepage": "https://github.com/s4nchez/LogIO-CocoaLumberjack",
    "license": "MIT",
    "authors": {
        "Ivan Sanchez": "[email protected]"
    },
    "source": {
        "git": "https://github.com/s4nchez/LogIO-CocoaLumberjack.git",
        "tag": "0.1.3"
    },
    "social_media_url": "https://twitter.com/s4nchez",
    "platforms": {
        "ios": "5.0"
    },
    "requires_arc": true,
    "source_files": "Classes",
    "ios": {
        "exclude_files": "Classes/osx"
    },
    "osx": {
        "exclude_files": "Classes/ios"
    },
    "dependencies": {
        "CocoaAsyncSocket": [
            "~> 7.4"
        ],
        "CocoaLumberjack": [
            "~> 2.0"
        ]
    }
}

Pin It on Pinterest

Share This