Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Filter tags in LogCat (in Android Eclipse Plug-In)

Tags:

There is a TextField "Filter" below the LogCat output. However, it seems to filter only the Message-column. Id like to filter Tags also. Because there are my class names.

How can I achieve it?

like image 277
OneWorld Avatar asked Oct 28 '10 15:10

OneWorld


2 Answers

There's a button that looks like a green + in the upper right of the log cat window, if you mouse over it says "Create Filter" in the popup from that you can filter by log tag. It creates a new tab in log cat with the filter name you specified. Then all of the output of that tag will go to that tab and not the "Log" tab.

like image 71
chad Avatar answered Sep 17 '22 14:09

chad


In Eclipse, if I would like to exclude those annoying Choreographer messages,I write this filter in the logcat filter TextField : tag:^(?!Choreographer).*$ and it excludes all messages which tag starts with the text Choreographer

If you want multiple exclusions : tag:^(?!Choreographer|dalvikvm-heap|Trace).*$

like image 40
Solostaran14 Avatar answered Sep 18 '22 14:09

Solostaran14