Back to project page AndroidInstagram.
The source code is released under:
Apache License
If you think the Android project AndroidInstagram 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 net.londatiga.android.instagram.util; /* w w w . j a v a 2 s. c om*/ import android.util.Log; /** * Debug. * * @author Lorensius W. L. T <lorenz@londatiga.net> * */ public class Debug { public static void i(String tag, String message) { if (Cons.ENABLE_DEBUG) { Log.i(tag, message); } } public static void i(String message) { Debug.i(Cons.TAG, message); } public static void e(String tag, String message) { if (Cons.ENABLE_DEBUG) { Log.e(tag, message); } } public static void e(String message) { if (Cons.ENABLE_DEBUG) { Debug.e(Cons.TAG, message); } } public static void e(String tag, String message, Exception e) { if (Cons.ENABLE_DEBUG) { Log.e(tag, message); e.printStackTrace(); } } }