按标记名过滤 logcat 中的输出 [英] Filter output in logcat by tagname
本文介绍了按标记名过滤 logcat 中的输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试通过标签名称过滤来自真实设备(不是模拟器)的 logcat 输出,但我收到了所有相当垃圾邮件的消息.我只是想从浏览器读取消息,应该是类似 "browser:" 或 "webkit:" 的内容,但它不起作用......这是我得到的:
I'm trying to filter logcat output from a real device (not an emulator) by tag name but I get all the messages which is quite a spam. I just want to read messages from browser which should be something like "browser:" or "webkit:" , but it doesn't work... Here it is what I get:
推荐答案
使用这个:
adb logcat -s "TAGNAME"
这篇关于按标记名过滤 logcat 中的输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文