1. 简单介绍:
安卓中打印日志的方法有5中,分别为:
1.Log.v() – VERBOSE
2.Log.d() – DEBUG
3.Log.i()- INFO
4.Log.w()- WARN
5.Log.e()- ERROR
强度从上至下递增
Log部分源码和常量解释:
/**
* Priority constant for the println method; use Log.v.
*/
public static final int VERBOSE = 2;
/**
* Priority constant for the println