過去 5 分間など、最近のログを取得するにはどうすればよいですか?
コマンドラインでのこのコマンド
adb logcat -v time | find "E/"
常にエラーログを提供します。
(すべてのログが表示されている間、数分待つのは面白くありません)
どうもありがとうございました!
過去 5 分間など、最近のログを取得するにはどうすればよいですか?
コマンドラインでのこのコマンド
adb logcat -v time | find "E/"
常にエラーログを提供します。
(すべてのログが表示されている間、数分待つのは面白くありません)
どうもありがとうございました!
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
.