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