Home > Mobile >  Android Studio Electric Eel's New Logcat - How do I get only the logs I manually logged?
Android Studio Electric Eel's New Logcat - How do I get only the logs I manually logged?

Time:01-15

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.

enter image description here

Also now, the cursor doesn't automatically scroll down when a new log appears making it even more frustrating

enter image description here

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?

CodePudding user response:

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

  • Related