24

I wish to see the JSON input/output of the iPhone. How can I do that?

Do I need to set use NSLog() (and where)? Or, set the RestKit logging level (to what)?

Steven Hepting
  • 12,394
  • 8
  • 40
  • 50
Tomer Even
  • 4,820
  • 2
  • 30
  • 36

2 Answers2

49

Try placing this RKLogConfigureByName("RestKit/Network", RKLogLevelTrace); in your AppDelegate

mja
  • 5,056
  • 1
  • 29
  • 40
2

You can use Charles - Debugging Proxy

Luda
  • 7,282
  • 12
  • 79
  • 139
  • 2
    Charles is by far the best solution. The logging output of RestKit is so heavy on performance, that except for trivial examples it isn't practical. Also it still doesn't seem to clearly show POSTing bodies. – theLastNightTrain Aug 20 '15 at 09:34