Back to project page msghandle.
The source code is released under:
GNU General Public License
If you think the Android project msghandle listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.anlong.msghandle.util; /*from w w w . java 2 s. c o m*/ import android.util.Log; /** * @Title: IMLog.java * @Package com.anlong.msghandle.util * @company ShenZhen AnLong Technology CO.,LTD. * @author lixl * @date 2014-3-12 ????3:48:22 * @version V1.0 * @Description: ????? */ public class IMLog { /** * ?????????????? */ public static final boolean DEBUG=true; /** * ??????????,???????????????? */ public static String TAG="debug"; /** * * @Description: TODO ???????? * @param msg */ public static void i(String msg){ if( DEBUG){ Log.i(TAG, msg); } } /** * * @Description: TODO ???? * @param msg */ public static void e(String msg){ if( DEBUG){ Log.e(TAG, msg); } } /** * * @Description: TODO ???????? * @param msg */ public static void v(String msg){ if( DEBUG){ Log.v(TAG, msg); } } /** * * @Description: TODO ???? * @param msg */ public static void w(String msg){ if( DEBUG){ Log.w(TAG, msg); } } /** * * @Description: TODO anlong ???????? * @param msg */ public static void anlong(String msg){ if( DEBUG){ Log.i("IMsgHandle[anlong]", msg); } } public static void i(String TAG,String msg){ if( DEBUG){ Log.i(TAG, msg); } } public static void e(String TAG,String msg){ if( DEBUG){ Log.i(TAG, msg); } } public static void w(String TAG,String msg){ if( DEBUG){ Log.i(TAG, msg); } } public static void d(String TAG,String msg){ if( DEBUG){ Log.i(TAG, msg); } } }