@@ -0,0 +1,1443 @@
+/*%0A * %E6%96%87%E4%BB%B6%E5%90%8D%EF%BC%9ALogUtil.java%0A * %E7%89%88%E6%9D%83%EF%BC%9A%3C%E7%89%88%E6%9D%83%3E%0A * %E6%8F%8F%E8%BF%B0%EF%BC%9A%3C%E6%8F%8F%E8%BF%B0%3E%0A * %E5%88%9B%E5%BB%BA%E4%BA%BA%EF%BC%9Axiaoying%0A * %E5%88%9B%E5%BB%BA%E6%97%B6%E9%97%B4%EF%BC%9A2013-5-16%0A * %E4%BF%AE%E6%94%B9%E4%BA%BA%EF%BC%9Axiaoying%0A * %E4%BF%AE%E6%94%B9%E6%97%B6%E9%97%B4%EF%BC%9A2013-5-16%0A * %E7%89%88%E6%9C%AC%EF%BC%9Av1.0%0A */%0A%0Apackage com.littlepanpc.downloader.util;%0A%0Aimport android.util.Log;%0A%0A/**%0A * @class: LogUtils%0A * @Description: to print logging%0A * @author: Peter Pan%0A * @email: happychinapc@gmail.com%0A * @date: 2014-5-19 %E4%B8%8B%E5%8D%886:01:11%0A * @since: 1.0.0%0A *%0A */%0Apublic class LogUtils %7B%0A%0A%09private final static boolean PRINTABLE = true;%0A%09%0A%09public static void i(String tag, String msg) %7B%0A%09%09if(PRINTABLE) %7B%0A%09%09%09Log.i(tag, msg);%0A%09%09%7D%0A%09%7D%0A%09%0A%09public static void i(String tag, Object msg) %7B%0A%09%09if(PRINTABLE) %7B%0A%09%09%09Log.i(tag, msg.toString());%0A%09%09%7D%0A%09%7D%0A%09%0A%09public static void w(String tag, String msg) %7B%0A%09%09if(PRINTABLE) %7B%0A%09%09%09Log.w(tag, msg);%0A%09%09%7D%0A%09%7D%0A%0A%09public static void w(String tag, Object msg) %7B%0A%09%09if(PRINTABLE) %7B%0A%09%09%09Log.w(tag, msg.toString());%0A%09%09%7D%0A%09%7D%0A%09%0A%09public static void e(String tag, String msg) %7B%0A%09%09if(PRINTABLE) %7B%0A%09%09%09Log.e(tag, msg);%0A%09%09%7D%0A%09%7D%0A%0A%09public static void e(String tag, Object msg) %7B%0A%09%09if(PRINTABLE) %7B%0A%09%09%09Log.e(tag, msg.toString());%0A%09%09%7D%0A%09%7D%0A%09%0A%09public static void d(String tag, String msg) %7B%0A%09%09if(PRINTABLE) %7B%0A%09%09%09Log.d(tag, msg);%0A%09%09%7D%0A%09%7D%0A%09%0A%09public static void d(String tag, Object msg) %7B%0A%09%09if(PRINTABLE) %7B%0A%09%09%09Log.d(tag, msg.toString());%0A%09%09%7D%0A%09%7D%0A%09%0A%09public static void v(String tag, String msg) %7B%0A%09%09if(PRINTABLE) %7B%0A%09%09%09Log.v(tag, msg);%0A%09%09%7D%0A%09%7D%0A%09%0A%09public static void v(String tag, Object msg) %7B%0A%09%09if(PRINTABLE) %7B%0A%09%09%09Log.v(tag, msg.toString());%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create LogUtils.java