How does Android Studio add filter entries (Filters) to log?

Source: Internet
Author: User

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.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.