Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable restkit logging in swift

Tags:

ios

swift

restkit

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

like image 801
Dmitry Nelepov Avatar asked Aug 05 '15 11:08

Dmitry Nelepov


1 Answers

Here

 RKlcl_configure_by_name("RestKit/Network", RKlcl_vTrace.rawValue);
 RKlcl_configure_by_name("RestKit/ObjectMapping", RKlcl_vOff.rawValue);
like image 71
Dmitry Nelepov Avatar answered Oct 15 '22 08:10

Dmitry Nelepov