Domanda

It really bothers me that every time I connect the phone to the PC, the LogCat begins to receive information that does not desire. The idea is to just get the LogCat of the application I'm developing

È stato utile?

Soluzione

Use a filter. You simply open up LogCat and click on the green + you'll see in the tools bar. Define the parameters you want to filter and a new filter will open up with just the lines you want.

The most logical way to filter is by your package name, this way your app or apps within a workspace will be logged and the rest stripped.

LogCat filter

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top