检查从过去用logcat的日志? [英] Examine logs from the past with logcat?

查看:213
本文介绍了检查从过去用logcat的日志?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想检查堆栈跟踪的最后几个小时。我还没有找到一个合适的 logcat中的命令。难道Android的忘记这些日志?

I'd like to examine stack traces from the last hours. I haven't found a proper logcat command. Does Android "forget" those logs?

第一个故事:

当我发现我的同事iPhone应用程序未处理的异常,他连接iphone到他的电脑,读取堆栈跟踪到的x code。 X-code也可视化的例外在一个不错的方式。 是否有不便。在Android的相似?

When I find an unhandled exception in my co-workers Iphone App, he connects the iphone to his computer and reads the stack trace into x-code. X-Code also visualizes the exception in a nice way. Is there a smth. similar in Android?

推荐答案

您可能不能够看到这些日志从过去的时间。试想一下,你的手机卖场所有的日志,多少空间它消耗一两天?

You probably won't be able to see those logs from the past hours. Imagine that your phone stores all logs, how much space will it consume in a couple of days?

所以,这是我做的:

  • 我在AUTOBUS,突然应用程序我正在崩溃!
  • 我想看看有什么logcat的输出来分析它在家里
  • 在我刚刚推出href="http://$c$c.google.com/p/android-log-collector/" rel="nofollow">的Andr​​oid日志收集应用的
  • 在我回家,吃饭,喂犬,然后我可以开始工作的我给个小时前logtrace。
  • I'm in the autobus, and suddenly the app I'm working on crashes!
  • I'd like to see what's the logcat output to analyze it at home
  • I just launch the Android log collector app, and send myself an email with the logcat output
  • I get home, have dinner, feed the dogs and then I can start working on the logtrace I emailed hours ago.

这篇关于检查从过去用logcat的日志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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