Just add the following code to your
UIApplicationDelegate, in the method
-application:didFinishLaunchingWithOptions: and you should see extensive information for each requests/responses in your Xcode console.
[[MCHTTPRequestLogger sharedLogger] startLogging];
- This code has been known to work on iOS 5.x+.
- This code uses Automatic Reference Counting, if your project does not use ARC, you must add the
-fobjc-arccompiler flag to each implementation files in
Target Settings > Build Phases > Compile Source.
- This code also uses the literals syntax, so at least Xcode 4.5 is required.