Latest0.2.0
Homepagehttps://github.com/reddavis/REDHTTPLogger
LicenseMIT
Platformsios 7.0, requires ARC
DependenciesAFNetworking, RequestUtils
FrameworksUIKit
Authors

[![CI Status](http://img.shields.io/travis/Red Davis/REDHTTPLogger.svg?style=flat)](https://travis-ci.org/Red Davis/REDHTTPLogger)
Version
License
Platform

REDHTTPLogger makes it easy to inspect HTTP requests happening inside your iOS app without needed the debugger attached.

Features

  • Integrates with AFNetworking
  • Shows state and response time of a request
  • Share request log via email, sms etc.

How To Use

To Start The Logger

#import “REDAppDelegate.h”

#import <REDHTTPLogger/REDHTTPLogger.h>

@implementation REDAppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
        …

    [[REDHTTPLogger sharedLogger] startLogging];

        …

    return YES;
}

@end

To Present Logger

- (void)someAction:(id)sender
{
    REDHTTPLogsViewController *logsViewController = [[REDHTTPLogsViewController alloc] init];
    UINavigationController *logsNavigationController = [[UINavigationController alloc] initWithRootViewController:logsViewController];
    [self.navigationController presentViewController:logsNavigationController animated:YES completion:nil];
}

Example

View video

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

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

pod "REDHTTPLogger"

Author

Red Davis, [email protected]

License

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

Latest podspec

{
    "name": "REDHTTPLogger",
    "version": "0.2.0",
    "summary": "REDHTTPLogger makes it easy to inspect HTTP requests happening inside your iOS app without needed the debugger attached.",
    "homepage": "https://github.com/reddavis/REDHTTPLogger",
    "license": "MIT",
    "authors": {
        "Red Davis": "[email protected]"
    },
    "source": {
        "git": "https://github.com/reddavis/REDHTTPLogger.git",
        "tag": "0.2.0"
    },
    "social_media_url": "https://twitter.com/reddavis",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "REDHTTPLogger": [
            "Pod/Assets/*.png"
        ]
    },
    "public_header_files": "Pod/Classes/**/*.h",
    "frameworks": "UIKit",
    "dependencies": {
        "AFNetworking": [
            "~> 2.3"
        ],
        "RequestUtils": [
            "~> 1.1"
        ]
    }
}

Pin It on Pinterest

Share This