Back to project page Sortr.
The source code is released under:
Apache License
If you think the Android project Sortr 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.brownapps.sortr.utility; /*from w ww . java 2s .c o m*/ import android.util.Log; public class Logging { private static boolean DEBUG = true; public static void LogDebugMessage(String source, String message){ if(DEBUG){ Log.d(source, message); } } public static void LogDebugError(String source, Exception e){ if(DEBUG){ Log.d(source, "Error"); e.printStackTrace(); } } }