In iOS I can enable restkit logging with:
RKLogConfigureByName("RestKit/Network*", RKLogLevelTrace);
But, I can't find a solution to do the same in Swift
Here
RKlcl_configure_by_name("RestKit/Network", RKlcl_vTrace.rawValue);
RKlcl_configure_by_name("RestKit/ObjectMapping", RKlcl_vOff.rawValue);
For Swift 2.2:
RKlcl_configure_by_name("RestKit/Network", RKlcl_vTrace.rawValue);
RKlcl_configure_by_name("RestKit/ObjectMapping", RKlcl_vOff.rawValue);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.