"Android Test", "section fifth" logcat--command line

Source: Internet
Author: User

Objective

  The previous article will be if the logcat in eclipse to do log viewing and filtering, many times we face the problem:

If your app needs to be outdoors to run (for example, using navigation in the Map software), it might be inconvenient to carry a computer outdoors, and you want to save the log, so how do you do it? This section will address this issue.

Pre-knowledge

First of all, it is not mentioned in the previous section of knowledge, I think it is more important, is the log classification of several levels:

  V (verbose)
D (Debug)
  I (Information)
  W (warning)
  E (Error)

These kinds of logs have higher and lower priority levels, that is, if you filter v, then the log will come out, if you come over E, then only the E log will appear .

  

Command line

After entering Logcat in the shell command

Logcat dalvikvm:v *:s

"Android Test", "section fifth" logcat--command line

Related Article

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.