通过标记名滤波器输出中的logcat [英] Filter output in logcat by tagname

查看:140
本文介绍了通过标记名滤波器输出中的logcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从一个真实的设备(而不是仿真器)通过标签名过滤logcat的输出,但我得到的一切是相当的垃圾邮件。我只是想读取浏览器的消息,这些消息应该是这样的浏览器:或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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆