Latest 0.0.3
Homepage https://github.com/mateuszmackowiak/PonyDebbugerLogger
License MIT
Platforms ios 5.1, requires ARC
Dependencies CocoaLumberjack, PonyDebugger
Authors

A bridge between CocoaLumberjack and PonyDebugger.

Usage

AppDelegate.h

#import "PonyDebuggerLogger.h"

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    PDDebugger * debugger = [PDDebugger defaultInstance];   
    [debugger connectToURL:[NSURL URLWithString:@"ws://localhost:9000/device"]];
    [debugger enableRemoteLogging];
    [DDLog addLogger:[PonyDebuggerLogger sharedInstance]];

    DDLogError(@"YAhoo");
}

Installation

I recommended to use CocoaPods as a way to get the library.

Here’s an example podfile that installs PonyDebuggerLogger and its dependencies

Podfile


pod 'PonyDebuggerLogger'

Latest podspec

{
    "name": "PonyDebuggerLogger",
    "version": "0.0.3",
    "summary": "A bridge between CocoaLumberjack and PonyDebugger.",
    "homepage": "https://github.com/mateuszmackowiak/PonyDebbugerLogger",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "Mateusz Mackowiak": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mateuszmackowiak/PonyDebbugerLogger.git",
        "tag": "0.0.3"
    },
    "platforms": {
        "ios": "5.1"
    },
    "source_files": "Source/**/*.{h,m}",
    "public_header_files": "Source/**/*.h",
    "dependencies": {
        "CocoaLumberjack": [],
        "PonyDebugger": []
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This