开发者

Android adb logcat time filter

开发者 https://www.devze.com 2023-01-14 09:22 出处:网络
Does anyone know how to filter out the logcat (\'adb shell logcat\') so that it only s开发者_运维问答hows the log statements after current date and time ? Thanks in advance.use

Does anyone know how to filter out the logcat ('adb shell logcat') so that it only s开发者_运维问答hows the log statements after current date and time ? Thanks in advance.


use

adb logcat -t "01-21 10:10:10.000"

this will give you log

after 21st January 10.10.10.000


Activities created after the current date and time? Or just log statements after the current time? Could it be as simple as "adb logcat -c; adb logcat"


Before you start up logcat first pass it the argument -c In the terminal you would say

adb logcat -c
adb logcat

This would produce a fresh log.

0

精彩评论

暂无评论...
验证码 换一张
取 消