1、打印日志 adb logcat -v time > logname.txt adb logcat -v > logname.txt
2、删除手机缓存日志 adb logcat -c
3、将手机中的日志放到文件夹 adb logcat > log.txt