This is a relatively simple thing to say today, and it is estimated that most people will use it.
When using eclipse in the past, there was an area on the left side of log that was used to manage each filters, so it was convenient to filter the log. When you use Android Studio, you're probably looking for it. I guess I didn't find it at first, so how do I add a filter?
1. Select Device
2, select Process
3,log type Switching
4,log filtering options
To add a filter today, just click Edit Filter Configuration in 4.
Click the edit Filter configuration pop up the following dialog box, the left column is the list management, this does not say, the next box up a few items:
1, name, this name is the name of the filter, you define what, in the click on the drop-down button, the name will be displayed in the drop-down list, I usually have this name and tag definition as consistent, easy to remember.
2, tag, that is, your code inside LOG.E (tag, xxxx) This tag, note if there are some characters to escape the tag, remember to escape, such as [R]aa, input into the tag is \[R\]AA
3, the rest of the screening conditions, these look at your own needs to fill.