2

過去 5 分間など、最近のログを取得するにはどうすればよいですか?

コマンドラインでのこのコマンド

adb logcat -v time | find "E/"

常にエラーログを提供します。

(すべてのログが表示されている間、数分待つのは面白くありません)

どうもありがとうございました!

4

2 に答える 2

0

The -v time command displays the date, invocation time, priority/tag, and PID of the process issuing the message. So it is not a filter for the actual timestamp of the log. I do not believe there is a way to do this.

Though, you can clear the log with adb logcat -c.

于 2016-01-29T16:49:28.003 に答える