Latest 0.1.0
Homepage https://github.com/Pash237/PANetworkLog
License MIT
Platforms ios 7.0, requires ARC
Authors

Version
License
Platform

Simple iOS library to send all NSLog messages (stderr output) to backend server.
Simple server to display logs is included in the repo.

Installation

PANetworkLog is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'PANetworkLog'

Usage

NSString *url = [NSString stringWithFormat:@"http://example.com/logs?device_id=%@", [UIDevice currentDevice].identifierForVendor.UUIDString];
[[PANetworkLog sharedInstance] forwardLogsToURL:url];

To run the example project, clone the repo, and run pod install from the Example directory first.
Don’t forget to disable NSAppTransportSecurity if your server is not on https.

To run included server, type

sudo python log_server.py 

Author

Pavel Alexeev, [email protected]

License

PANetworkLog is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "PANetworkLog",
    "version": "0.1.0",
    "summary": "Simple library to send all NSLog messages to backend server.",
    "homepage": "https://github.com/Pash237/PANetworkLog",
    "license": "MIT",
    "authors": {
        "Pavel Alexeev": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Pash237/PANetworkLog.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "PANetworkLog/**/*"
}

Pin It on Pinterest

Share This