Search code examples
iosswiftrestkit

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


Solution

  • Here

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