How can I prevent LogCat from receiving everything my mobile phone does?

I am really worried that every time I connect my phone to a PC, LogCat starts to receive information that is not needed. The idea is to just get the LogCat application that I am developing

+3
source share
1 answer

Use a filter. You simply open LogCat and click on the green +one that you will see on the toolbar. Define the parameters that you want to filter, and the new filter will open using only the lines you want.

The most logical way to filter is by the name of your package, so your application or applications in the workspace will be logged and the rest will be divided.

Logcat filter

+4
source

All Articles