Dmitry Nelepov Dmitry Nelepov - 1 year ago 127
iOS Question

How to enable restkit logging in swift

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

Answer Source


 RKlcl_configure_by_name("RestKit/Network", RKlcl_vTrace.value);
 RKlcl_configure_by_name("RestKit/ObjectMapping", RKlcl_vOff.value);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download