PhoneGap 2.0在XCode中不显示console.log [英] PhoneGap 2.0 doesn't show console.log in XCode
本文介绍了PhoneGap 2.0在XCode中不显示console.log的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用基本的PhoneGap 2.0应用程序,我在XCode中没有看到任何console.log
消息.我读到Release版本不应该中继日志,但是它似乎已经在Debug模式下构建了CordovaLib,因为我确实看到了来自PluginResult
的消息.
Using a basic PhoneGap 2.0 app, I don't see any console.log
messages in XCode. I read that Release builds shouldn't relay the log, but it seems to have built CordovaLib in Debug mode as I do see messages from PluginResult
.
日志功能应该仍然存在吗?
Is the logging functionality still supposed to be there?
推荐答案
它在使用phonegap2.0的我的应用程序中有效.但是,我注意到的一件事是,它仅在"deviceready"启动后才开始工作.可能值得一看.
It works in my app that is using phonegap2.0. However, one thing I noticed is that it only starts working after 'deviceready' is fired. May be worth taking a look.
这篇关于PhoneGap 2.0在XCode中不显示console.log的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文