logcat的过滤和行数 [英] logcat filtering and number of lines

查看:395
本文介绍了logcat的过滤和行数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此问题已被puzzeling我,我期待着您找到答案。

This issue has been puzzeling me and I hope to find an answer from you.

我想显示有我的班XX标签和日志的最后100 occurances(系)级信息的

I am trying to display the last 100 occurances(or lines) of logs that have my class xx tag and of level Info

这是通过使用

亚行logcat -t 100 -v长XX:我*:秒

Adb logcat -t 100 -v long xx:I *:s

我只得到XX的最后12左右匹配的字符串。我不是100

I am getting only last 12 or so occurances of xx:I not 100.

会不会是logcat的是readig最后100行日志,并根据我的标准筛选呢?不应该把它显示最后100行标记?

could it be that logcat is readig last 100 lines of logs and filtering them based on my criteria? Shouldnt it display last 100 tagged lines?

推荐答案

亚行logcat -t 100 -v长XX:我,不用 *:S。

这篇关于logcat的过滤和行数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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