RequestLogger
Installation
Logger is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'RequestLogger'
Use
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
Author
Satish Babariya, [email protected]
License
Logger is available under the MIT license. See the LICENSE file for more info.