Back to project page AwakeDebug.
The source code is released under:
Apache License
If you think the Android project AwakeDebug 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.afzaln.awakedebug; // w w w . j ava2s . c om /** * Created by afzal on 2014-05-15. */ public class Log { public static void d(String tag, String message) { if (BuildConfig.DEBUG) { android.util.Log.d(tag, message); } } public static void e(String tag, String message, Throwable ex) { if (BuildConfig.DEBUG) { android.util.Log.e(tag, message, ex); } } }