In the old logcat all I would have to do is type my package name in the search bar.
e.g com.dave.mynewapp
but now when you type in the package name it constantly displays log messages EVERY SINGLE SECOND that I don’t need making it hard to debug.
Also now, the cursor doesn’t automatically scroll down when a new log appears making it even more frustrating
I am able to filter it by typing the activity name… e.g MainActivity
, but it becomes very annoying to type out every single class name that I have logs in.
Is there a way to get all the logs I manually created, but ignore the clutter I have in the picture above?
2
Answers
maybe you can try this :
filter specify the package name
package:com.dave.mynewapp
filter specify the Tag
tag:MainActivity
filter mutil tags like
package:com.dave.mynewapp tag:MainActivity tag:MainActivity2
detail info about this link https://developer.android.com/studio/debug/logcat
I had luck by filtering on: tag:info
var tag = "info"
Log.i(tag, "Names: $names")