如何查看RestKit网络的通信(JSON字符串)? [英] How can I see the communication of the RestKit network (JSON string)?

查看:35
本文介绍了如何查看RestKit网络的通信(JSON字符串)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望看到 iPhone 的 JSON 输入/输出.我该怎么做?

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

我是否需要设置 use NSLog()(以及在哪里)?或者,将 RestKit 日志级别设置为(什么)?

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

推荐答案

尝试将这个 RKLogConfigureByName("RestKit/Network", RKLogLevelTrace); 放在你的 AppDelegate

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

这篇关于如何查看RestKit网络的通信(JSON字符串)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆