RestKit is sent from heaven. It’s super awesome. But a lot of magics and mysteries happen under the hood. Logging is the easy way to examine what happen.
To activate logging or change the logging behavior, all you have to do is adding/changing Preprocessor Macros in Build Settings of RestKit project.
There are 7 logging options as you can see in RKLog.h
1 2 3 4 5 6 7 |
#define RKLogLevelOff lcl_vOff #define RKLogLevelCritical lcl_vCritical #define RKLogLevelError lcl_vError #define RKLogLevelWarning lcl_vWarning #define RKLogLevelInfo lcl_vInfo #define RKLogLevelDebug lcl_vDebug #define RKLogLevelTrace lcl_vTrace |
To be the most verbose logging, just change/add Preprocessor Macros to RKLogLevelDefault=RKLogLevelTrace.
Happy logging.