Logger is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'RequestLogger'
Add this line in didFinishLaunchingWithOptions
RequestLogger(leval: Level.verbose).startLogging()
Configure RequestLogger
let logger = RequestLogger(leval: Level.verbose)
logger.logHTMLResponse = true
logger.startLogging()
Log Levels
- verbose : Log Everything (Request + Response + cURL )
- debug : Log Request
- error : Log Request with error on occurrence of error
Satish Babariya, satish.babariya@gmail.com
Logger is available under the MIT license. See the LICENSE file for more info.