Back to project page TaskManager.
The source code is released under:
Apache License
If you think the Android project TaskManager 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.ggstudios.tools.taskmanager; /* ww w . ja v a 2s. c o m*/ import android.util.Log; public class DebugLog { private static final boolean isLoggingEnabled = true; public static void d(String tag, String msg){ if(isLoggingEnabled) Log.d(tag, msg); } public static void e(String tag, String msg){ if(isLoggingEnabled) Log.e(tag, msg); } public static void e(String tag, String msg, Throwable t){ if(isLoggingEnabled) Log.e(tag, msg, t); } public static void e(String tag, Throwable t){ if(isLoggingEnabled) Log.e(tag, "", t); } }