adb logcat > fileName.txt 此命令可以直接捕获全局的日志信息,开发人员可以通过分析日志获得自己想要的信息 adb logcat | grep <过滤内容> > fileName.txt 此命令可以过滤内容