AFNetworking 3.0 View Log

I used AFNetworkActivityLogger to print the network log, but recently updated AFNetworking to 3.0, and AFNetworkActivityLogger does not support 3.0. So, how could I print a magazine like before when I use AFNetworking 3.0?

+4
source share
2 answers

If you use cocoapods, add this line to yours Podfileand runpod install

pod 'AFNetworkActivityLogger', git: 'https://github.com/AFNetworking/AFNetworkActivityLogger.git', branch: '3_0_0'

This will check the code of the 3_0_0 AFNetworkActivityLogger branch .

I suggest you read the migration guide because some of the methods in 2.x have been moved to other places.

Link: AFNetworking / AFNetworkActivityLogger # 34

+16

AFNetworkingLogger AFNetworking 3.x

- https://github.com/AFNetworking/AFNetworkActivityLogger/releases/tag/3.0.0

, ,

pod 'AFNetworkActivityLogger', '3.0.0'
0

All Articles