RequestLogger 1.0.0

RequestLogger 1.0.0

Maintained by Satish Babariya.



  • By
  • Satish Babariya

RequestLogger

Version License Platform

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

  1. verbose : Log Everything (Request + Response + cURL )
  2. debug : Log Request
  3. 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.