When developing mobile apps, Samsungs is just a big headache...

One thing I stumbled recently is that the logcat is just throwing every single log of the system without any kind of filter and makes it really hard to the logs you add on the app.

So this line will scan all your java files and create a logcat (I'm using pidcat) filtered with the tags of the sourcecode.

find . -type f -name \*.java -print | xargs -I {} basename  {} .java | uniq | xargs | sed -e 's/ / -t /g'  | xargs -o -t  pidcat -t AndroidRuntime -t