In logcat of Android Studio there is usually too much output, sometimes a developer would want to filter out these results so that he only gets logs from the application he is debugging. This can be achieved by the following method.
On the left side (right next to the tabs) is an icon with green arrows – it can be toggled on/off to display only logcat from the process selected in the list 🙂
UPDATE:
as of android studio ver 0.4.5 u will get messages from the app that is running only by default. Log cat has a new option (ON by default) which creates an application filter automatically such that only the launched application’s output is shown
Will this work in my old Samsung phone. Please help me out.
Not working in version 0.8.6 logcat shows all messages by default
it does by default for me and others.
In case it doesn’t you can filter by your package name as shown here
haha easy enough. I was just working on a Logcat post for another website. Android studio is great!
Though it's a little bit technical for me but I still liked it and I have got some idea as well.