Back to project page oidarSample.
The source code is released under:
GNU General Public License
If you think the Android project oidarSample 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.oidar.util; // w ww .j av a 2s . c om import android.util.Log; /** * Helper class for logging. */ public class MyLog { private static final String TAG = "OIDAR"; /** * Log a verbose message. */ public static void v(String message) { if (Constants.DEBUG) { Log.v(TAG, message); } } /** * Log an error message. */ public static void e(String message, Throwable t) { if (Constants.DEBUG) { Log.e(TAG, message, t); } } /** * Log an info message. */ public static void i(String message) { if (Constants.DEBUG) { Log.i(TAG, message); } } /** * Log a debug message. */ public static void d(String message) { if (Constants.DEBUG) { Log.d(TAG, message); } } }