当前位置 : 主页 > 手机开发 > android >

android – 我可以通过在shell中发出命令在手机上执行logcat吗?

来源:互联网 收集:自由互联 发布时间:2021-06-11
我怎样才能在Logcat中看到时间戳?是否有任何应用程序向我显示日志以及时间戳?另外,如何增加登录andriod手机的大小? Android有几个免费的logcat查看器.我听说 aLogCat非常好. 编辑 您可以
我怎样才能在Logcat中看到时间戳?是否有任何应用程序向我显示日志以及时间戳?另外,如何增加登录andriod手机的大小? Android有几个免费的logcat查看器.我听说 aLogCat非常好.

编辑

您可以在aLogCat中设置首选项以查看时间.

关于你的第二个问题,我找到了答案here:

The logs are held by a kernel device; the entries are in /dev/log.
The buffer is currently 64KB, and there is no way to change the size
on a production device.

The easiest way to keep more of the log is to run “logcat” and send the output to a file. logcat runs on the device, so you could run it there and redirect it to (say) /sdcard/log.txt.

网友评论