In my logcat there is too much output, so I'd like to filter it using some keywords, basically displaying only the output containing the keyword(s). Is there a way to do that in Android Studio through the UI?
There are two ways to do this, both are in the Android tab at the bottom of the IDE (where the logcat output is displayed).
First, you can simply type something into the search box at the top and it should filter only messages containing the text you type.
Second, you can do advanced filtering by clicking on the dropdown at the top right, which should be displaying No Filters by default, and choose Edit Filter Configuration
and specifying what to filter on. Using this method you also save the filters and can re-use them by selecting them in the dropdown.
Screenshot:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With