adb logcat *:E
adb logcat TAG:E
You can filter
adb logcat output by process ID by using the
To get the process ID for your app, you can run
adb shell ps | FINDSTR <app name> (for Windows) or
adb shell ps | grep <app name> (for *nix and OSX) while the app is still running.
Since you are trying to get logcat output after the app has crashed, the
ps command won't work. You can generally filter logcat output by running
adb logcat | FINDSTR <search term> (for Windows) or
adb logcat | grep <search term> (for *nix and OSX).
This way, you can still assign meaningful tags to your debug messages and further filter on them.
Hope this helps!