Common android. util. Log methods include log. V () log. D () log. I () log. W () and log. E (). Corresponds to verbose, debug, info, warn, and error according to the first letter.
1. the debugging color of log. V is black, and any message will be output. Here v stands for verbose, which is usually used as log. V ("","");
2. The output color of log. D is blue and only the meaning of DEBUG debugging is output. However, it outputs the upper-layer information, which can be selected through the logcat tag of ddms;
3. The output of log. I is green. Generally, it indicates message information. It does not output information of log. V and log. D, but displays information of I, W, and E;
4. log. W indicates orange. It can be seen as a warning of warning. Generally, we need to optimize the android code and select it to output log. E;
5. If log. e is red, you can think of error errors. Here, only red error messages are displayed. We need to carefully analyze these errors and view stack information;
Reference: http://www.cnblogs.com/menglin2010/archive/2011/12/20/2294338.html
LOG method description