Latest 1.0.4
Homepage https://github.com/fnazarios/TMLog
License MIT
Platforms ios 7.0, requires ARC
Authors

Send output from NSLog() and println() (print() on Swift 2.0) to remote server like papertrail.

Setup

To send your log to papertrail, is very easy ;)

Install

To use TMLog, you just add pod 'TMLog' to your Podfile and import the library

import TMLog

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
    TMLog.startWith("logs3.papertrailapp.com", port: 48584)
    return true
}

In Objective-C:

//AppDelegate.m

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [TMLog startWithHost:@"logs3.papertrailapp.com" port:48584];
    return YES;
}

Latest podspec

{
    "name": "TMLog",
    "version": "1.0.4",
    "summary": "Send output from NSLog() and println() (print() on Swift 2.0) to remote server like papertrail.",
    "description": "Send output from NSLog() and println() (print() on Swift 2.0) to remote server like papertrail.nn* Works on Objective-C and Swift",
    "homepage": "https://github.com/fnazarios/TMLog",
    "license": "MIT",
    "authors": {
        "Fernando Nazario Sousa": "[email protected]"
    },
    "social_media_url": "http://twitter.com/fnazarios",
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/fnazarios/TMLog.git",
        "tag": "1.0.4"
    },
    "source_files": [
        "TMLog",
        "TMLog/*.{h,m}"
    ],
    "public_header_files": "TMLog/*.h",
    "requires_arc": true
}

Pin It on Pinterest

Share This