Dmitry Nelepov Dmitry Nelepov - 1 year ago 97
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

Here

 RKlcl_configure_by_name("RestKit/Network", RKlcl_vTrace.value);
 RKlcl_configure_by_name("RestKit/ObjectMapping", RKlcl_vOff.value);