I'm using
adb -s [deviceId] logcat
to print the device's log output into cmd. But now I want to add a TAG filter to the shown output. How can I do that?
Use the -s option.
adb logcat -s MyActivity
Drawing from the link @ How to filter Android logcat by application?
For list of options check the link below
http://developer.android.com/tools/help/logcat.html
For tagging check the below link
http://developer.android.com/reference/android/util/Log.html