No description or website provided.
Objective-C Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
NSRemoteLog
NSRemoteLogExample
.gitignore
LICENSE
NSRemoteLog.podspec
README.md

README.md

NSRemoteLog

LICENSE: MIT

AUTHORS:

I needed a simple library to have NSLog lines in remote. Didn't find anything simple, so I wrote one :-)

Instructions

First of all, install the server https://github.com/gscalzo/NSRemoteLogServer

Then install the library in your project (I rather use CocoaPods, but the library is project agnostic).

Add this macro to your precompiled header:

 #import "NSRemoteLog.h"
 #define NSLog(__FORMAT__, ...) [NSRemoteLog log:[NSString stringWithFormat:__FORMAT__, ##__VA_ARGS__] serverUrl:@"http://hollow-galaxy-7080.herokuapp.com/"]

changing http://hollow-galaxy-7080.herokuapp.com/, with your server address.