/*
 * 文件名：LogUtil.java
 * 版权：<版权>
 * 描述：<描述>
 * 创建人：xiaoying
 * 创建时间：2013-5-16
 * 修改人：xiaoying
 * 修改时间：2013-5-16
 * 版本：v1.0
 */

package com.littlepanpc.downloader.util;

import android.util.Log;

/**
 * @class: LogUtils
 * @Description: to print logging
 * @author: Peter Pan
 * @email: happychinapc@gmail.com
 * @date: 2014-5-19 下午6:01:11
 * @since: 1.0.0
 *
 */
public class LogUtils {

	private final static boolean PRINTABLE = true;
	
	public static void i(String tag, String msg) {
		if(PRINTABLE) {
			Log.i(tag, msg);
		}
	}
	
	public static void i(String tag, Object msg) {
		if(PRINTABLE) {
			Log.i(tag, msg.toString());
		}
	}
	
	public static void w(String tag, String msg) {
		if(PRINTABLE) {
			Log.w(tag, msg);
		}
	}

	public static void w(String tag, Object msg) {
		if(PRINTABLE) {
			Log.w(tag, msg.toString());
		}
	}
	
	public static void e(String tag, String msg) {
		if(PRINTABLE) {
			Log.e(tag, msg);
		}
	}

	public static void e(String tag, Object msg) {
		if(PRINTABLE) {
			Log.e(tag, msg.toString());
		}
	}
	
	public static void d(String tag, String msg) {
		if(PRINTABLE) {
			Log.d(tag, msg);
		}
	}
	
	public static void d(String tag, Object msg) {
		if(PRINTABLE) {
			Log.d(tag, msg.toString());
		}
	}
	
	public static void v(String tag, String msg) {
		if(PRINTABLE) {
			Log.v(tag, msg);
		}
	}
	
	public static void v(String tag, Object msg) {
		if(PRINTABLE) {
			Log.v(tag, msg.toString());
		}
	}
}

@@ -1,132 +1,4 @@
-/*%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
 %0Apac

Update LogUtils.java