Android Open Source - NewAndroidTwitter Debug From Project Back to project page NewAndroidTwitter .
License The source code is released under:
Apache License
If you think the Android project NewAndroidTwitter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code package net.londatiga.android.twitter.util;
/ * w w w . j a v a 2 s . c o m * /
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();
}
}
}
Java Source Code List net.londatiga.android.example.BaseActivity.java net.londatiga.android.example.MainActivity.java net.londatiga.android.example.UserActivity.java net.londatiga.android.twitter.TwitterDialog.java net.londatiga.android.twitter.TwitterRequest.java net.londatiga.android.twitter.TwitterUser.java net.londatiga.android.twitter.Twitter.java net.londatiga.android.twitter.http.HttpConn.java net.londatiga.android.twitter.http.HttpParams.java net.londatiga.android.twitter.http.HttpValues.java net.londatiga.android.twitter.oauth.OauthAccessToken.java net.londatiga.android.twitter.oauth.OauthConsumer.java net.londatiga.android.twitter.oauth.OauthHeader.java net.londatiga.android.twitter.oauth.OauthProvider.java net.londatiga.android.twitter.oauth.OauthSignature.java net.londatiga.android.twitter.oauth.OauthToken.java net.londatiga.android.twitter.oauth.OauthUtil.java net.londatiga.android.twitter.util.Base64.java net.londatiga.android.twitter.util.Cons.java net.londatiga.android.twitter.util.Debug.java net.londatiga.android.twitter.util.StringUtil.java net.londatiga.android.twitter.util.URIUtil.java