TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Apr 2015 |
Maintained by Red Davis.
Depends on: | |
AFNetworking | ~> 2.3 |
RequestUtils | ~> 1.1 |
REDHTTPLogger makes it easy to inspect HTTP requests happening inside your iOS app without needed the debugger attached.
#import “REDAppDelegate.h”
#import <REDHTTPLogger/REDHTTPLogger.h>
@implementation REDAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
…
[[REDHTTPLogger sharedLogger] startLogging];
…
return YES;
}
@end
- (void)someAction:(id)sender
{
REDHTTPLogsViewController *logsViewController = [[REDHTTPLogsViewController alloc] init];
UINavigationController *logsNavigationController = [[UINavigationController alloc] initWithRootViewController:logsViewController];
[self.navigationController presentViewController:logsNavigationController animated:YES completion:nil];
}
To run the example project, clone the repo, and run pod install
from the Example directory first.
REDHTTPLogger is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "REDHTTPLogger"
Red Davis, [email protected]
REDHTTPLogger is available under the MIT license. See the LICENSE file for more info.