解决方法
操作开始和结束时AFURLConnectionOperation发送通知.您可以通过侦听这些通知并记录通知对象来轻松记录请求:
[[NSNotificationCenter defaultCenter] addObserverForName:AFNetworkingOperationDidStartNotification object:nil queue:nil usingBlock:^(NSNotification *note) { NSLog(@"Operation Started: %@",[note object]); }];
结合FormatterKit的TTTURLRequestFormatter获得最佳效果!