Back to project page CommonLibs.
The source code is released under:
Apache License
If you think the Android project CommonLibs listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * <p>Title: WLog.java</p>/* ww w. j a v a 2 s . c om*/ * <p>Description: ??????????</p> * <p>Copyright: Copyright (c) 2013</p> * <p>Company: </p> * @author caisenchuan * @date 2013-9-8 * @version 1.0 */ package com.alex.common.utils; import android.util.Log; /** * ?????? * @author caisenchuan */ public class KLog { /*-------------------------- * ????? *-------------------------*/ /*-------------------------- * ??? *-------------------------*/ /*-------------------------- * ???????? *-------------------------*/ /*-------------------------- * public?? *-------------------------*/ ////////////////?????////////////////// public static void v(String tag, String str) { Log.v(tag, str); } public static void d(String tag, String str) { Log.d(tag, str); } public static void w(String tag, String str) { Log.w(tag, str); } public static void e(String tag, String str) { Log.e(tag, str); } ////////////////???????????////////////////// public static void v(String tag, String format, Object... args) { Log.v(tag, String.format(format, args)); } public static void d(String tag, String format, Object... args) { Log.d(tag, String.format(format, args)); } public static void w(String tag, String format, Object... args) { Log.w(tag, String.format(format, args)); } public static void e(String tag, String format, Object... args) { Log.e(tag, String.format(format, args)); } ////////////////???????////////////////// public static void d(String tag, String str, Throwable tr) { Log.d(tag, str, tr); } public static void w(String tag, String str, Throwable tr) { Log.w(tag, str, tr); } public static void e(String tag, String str, Throwable tr) { Log.e(tag, str, tr); } /*-------------------------- * protected??packet?? *-------------------------*/ /*-------------------------- * private?? *-------------------------*/ }