简体   繁体   中英

Android: how to filter logcat trace files?

I got a logcat file from another user which has troubles with the app. The file is pretty big and contains a lot of verbose logging information. Is there a tool to filter for TAGs or App? Maybe is there some way to use LogCat itself for that?

At least in my version, I see filter tools on the left. There's a big green plus which will add a new filter, which you can filter on a number of items, including the TAG.

就像cyph3r写道:只需使用一些命令行工具,例如grep

cat mylog.txt | grep "myTag"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM