Back to project page AndroidPINProtectionExample.
The source code is released under:
GNU General Public License
If you think the Android project AndroidPINProtectionExample 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.example.pinexample.utilities; // w w w . ja va 2 s . co m /** * Override of the android utility Log class * @author drakuwa * */ public class Log { private static boolean isEnabled = true; public static String TAG = "TestApp"; public static void d(String tag, String message) { if (isEnabled) { android.util.Log.d(tag, message); } } public static void i(String tag, String message) { if (isEnabled) { android.util.Log.i(tag, message); } } public static void e(String tag, String message) { if (isEnabled) { android.util.Log.e(tag, message); } } public static void v(String tag, String message) { if (isEnabled) { android.util.Log.v(tag, message); } } public static void w(String tag, String message) { if (isEnabled) { android.util.Log.w(tag, message); } } }