Back to project page AppManager-for-Android.
The source code is released under:
Apache License
If you think the Android project AppManager-for-Android 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.appmanager.android.util; //from w w w . j a v a 2 s. co m import android.util.Log; import com.appmanager.android.BuildConfig; /** * Logging utility. * * @author Soichiro Kashima */ public class LogUtils { public static final boolean DEBUG = BuildConfig.DEBUG; public static void e(String tag, String msg, Throwable cause) { if (DEBUG) { Log.e(tag, msg, cause); } } public static void d(String tag, String msg) { if (DEBUG) { Log.d(tag, msg); } } }