CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

AlamofireNetworkLogger 0.1.0

AlamofireNetworkLogger 0.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Aug 2019
SPMSupports SPM

Maintained by Dwarven.



AlamofireNetworkLogger

CocoaPods Compatible Platform Twitter License

Network Logger for Alamofire

Requirements

  • iOS 9.0+ / macOS 10.11+ / tvOS 9.0+ / watchOS 2.0+
  • Swift 3.0+
  • Alamofire 4.0+

Podfile

To integrate AlamofireNetworkLogger into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'AlamofireNetworkLogger'

Preview

How to use

import AlamofireNetworkLogger

Add the following code to AppDelegate.swift application:didFinishLaunchingWithOptions::

AlamofireNetworkLogger.shared.startLogging()
AlamofireNetworkLogger.shared.level = .debug // or .info .error .off