adb logcat -b
时间: 2023-12-26 08:27:18 浏览: 134
adb logcat支持kernel打印
5星 · 资源好评率100%
以下是两种使用adb logcat命令的例子:
1. 清除日志缓存并获取内核日志:
```shell
adb logcat -b all -c && adb logcat -b kernel > kmd.log
```
2. 获取所有用户日志:
```shell
adb logcat -b main -b system -b radio -b events -v time > all_user.log
```
阅读全文