Android Learning----Print Log

Source: Internet
Author: User

LOG.V (tag,msg); all content

LOG.D (tag,msg);d Ebug

LOG.I (tag,msg); general information

LOG.W (tag,msg); warning message

LOG.E (tag,msg); error message

1.LOG.V debugging color is black, any information will be output, here V for verbose wordy meaning, usually used is LOG.V ("", "")

The output color of the 2.LOG.D is blue, only the debug debugging information is output, but he will output the meaning of the upper layer, filtering can be selected by DDMS logcat tag

3.LOG.I output is green, general suggestive message infomation, it will not output LOG.V and LOG.D messages, but will display i,w,e messages

4.LOG.W meaning orange, can be seen as a warning warning, generally need us to focus on optimizing Android optimization, while outputting LOG.E information

5.LOG.E is red, can think of error errors, here only the red error message, these errors require us to view the stack information.

Android Learning----Print Log

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.