简体   繁体   English

iOS中的Flex Mobile日志输出

[英]Flex Mobile log output in iOS

I'm trying to debug an issue on a Flex Mobile project. 我正在尝试调试Flex Mobile项目上的问题。 Specifically, in order to debug this I need to be using a release build for iOS (it is the only way the problem appears). 具体来说,为了进行调试,我需要使用iOS的发行版(这是问题出现的唯一方法)。 I am having difficulty finding a way to view log messages on a release build. 我很难找到一种查看发布版本中的日志消息的方法。 Has anybody been able to successfully see log messages in the Organizer console? 有人能够在管理器控制台中成功查看日志消息吗? If so, how did you accomplish it? 如果是这样,您是如何做到的?

If it needs to be a release build, I can think of two options: 如果需要发行版本,我可以考虑两个选择:

  1. Using Google Analytics in the Flex mobile project and then log your errors to a "test" bucket so it doesn't get mixed up with your real reporting. 在Flex移动项目中使用Google Analytics(分析),然后将您的错误记录到“测试”存储桶中,这样就不会与您的实际报告混淆。
  2. Save a txt file with log info, and then read it back in 保存带有日志信息的txt文件,然后重新读回

Neither are great solutions, but I think it is the best you can do with a release build. 都不是很好的解决方案,但是我认为这是发布版本可以做的最好的事情。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM