Skip to content

RequestLogger is a powerful logging framework for Alamofire Requests.

License

Notifications You must be signed in to change notification settings

nomuq/RequestLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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, satish.babariya@gmail.com

License

Logger is available under the MIT license. See the LICENSE file for more info.

About

RequestLogger is a powerful logging framework for Alamofire Requests.

Resources

License

Stars

Watchers

Forks

Packages

No packages published