PonyDebuggerLogger 0.0.3

PonyDebuggerLogger 0.0.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jul 2016

Maintained by Mateusz Mackowiak.



 
Depends on:
CocoaLumberjack>= 0
PonyDebugger>= 0
 

  • By
  • Mateusz Mackowiak

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'