Correctly process log information in android Projects
In our project, debugging programs usually involve debugging or logging, especially reading json data, however, when the project goes online, the log information cannot be printed out. You can download some bad apps and connect to eclipse to see the request url or returned data, if you come across some skilled people, do you know what to do? You know, below is a log class, which is usually used in projects as a tool class,
Public class LogUitl {private static final boolean IS_OPEN = true; private static final String TAG = "LogUitl"; public static void e (String msg) {Log. e (TAG, msg);} public static void d (String msg) {Log. e (TAG, msg);} public static void I (String msg) {Log. e (TAG, msg);} public static void w (String msg) {Log. e (TAG, msg);} public static void v (String msg) {Log. e (TAG, msg );}}