Alamofireのリクエストのログをcurl形式で出力する


実装方法

hoge.swift
let manager = ApiManager.sharedInstance
let request = manager.request(method, urlString, headers: headers, parameters: parameters, encoding: .JSON)
#if DEBUG
NSLog("=======REQUEST======")
NSLog(request.debugDescription)
NSLog("======================")
#endif