Android Open Source - TumblifeForAndroid T L Log






From Project

Back to project page TumblifeForAndroid.

License

The source code is released under:

GNU General Public License

If you think the Android project TumblifeForAndroid 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 jp.mitukiii.tumblife.util;
/*ww w . ja  v  a  2  s . c om*/
import jp.mitukiii.tumblife.Main;
import android.util.Log;

public class TLLog
{ 
  public static final boolean IS_DEBUG = false;

  public static int e(String msg)
  {
    return Log.e(Main.APP_NAME, msg);
  }

  public static int e(String msg, Throwable tr)
  {
    return Log.e(Main.APP_NAME, msg, tr);
  }

  public static int w(String msg)
  {
    return Log.w(Main.APP_NAME, msg);
  }

  public static int w(String msg, Throwable tr)
  {
    return Log.w(Main.APP_NAME, msg, tr);
  }

  public static int i(String msg)
  {
    return Log.i(Main.APP_NAME, msg);
  }

  public static int i(String msg, Throwable tr)
  {
    return Log.i(Main.APP_NAME, msg, tr);
  }

  public static int d(String msg)
  {
    if (IS_DEBUG) {
      return Log.d(Main.APP_NAME, msg);
    } else {
      return Log.DEBUG;
    }
  }

  public static int d(String msg, Throwable tr)
  {
    if (IS_DEBUG) {
      return Log.d(Main.APP_NAME, msg, tr);
    } else {
      return Log.DEBUG;
    }
  }

  public static int v(String msg)
  {
    if (IS_DEBUG) {
      return Log.v(Main.APP_NAME, msg);
    } else {
      return Log.VERBOSE;
    }
  }

  public static int v(String msg, Throwable tr)
  {
    if (IS_DEBUG) {
      return Log.v(Main.APP_NAME, msg, tr);
    } else {
      return Log.VERBOSE;
    }
  }
}




Java Source Code List

jp.mitukiii.tumblife.App.java
jp.mitukiii.tumblife.HardkeySetting.java
jp.mitukiii.tumblife.KeyCodeMap.java
jp.mitukiii.tumblife.Main.java
jp.mitukiii.tumblife.Setting.java
jp.mitukiii.tumblife.exeption.TLAuthenticationFailureException.java
jp.mitukiii.tumblife.exeption.TLFailureException.java
jp.mitukiii.tumblife.exeption.TLParserException.java
jp.mitukiii.tumblife.exeption.TLSDCardNotFoundException.java
jp.mitukiii.tumblife.model.TLModel.java
jp.mitukiii.tumblife.model.TLPost.java
jp.mitukiii.tumblife.model.TLSetting.java
jp.mitukiii.tumblife.model.TLTumblelog.java
jp.mitukiii.tumblife.model.TLUser.java
jp.mitukiii.tumblife.parser.TLParser.java
jp.mitukiii.tumblife.parser.TLPostParser.java
jp.mitukiii.tumblife.parser.TLUserParser.java
jp.mitukiii.tumblife.tumblr.TLDashboardDelegate.java
jp.mitukiii.tumblife.tumblr.TLDashboardInterface.java
jp.mitukiii.tumblife.tumblr.TLDashboard.java
jp.mitukiii.tumblife.ui.TLWebViewClientDelegate.java
jp.mitukiii.tumblife.ui.TLWebViewClient.java
jp.mitukiii.tumblife.util.TLBrowser.java
jp.mitukiii.tumblife.util.TLConnection.java
jp.mitukiii.tumblife.util.TLExplorer.java
jp.mitukiii.tumblife.util.TLLog.java
jp.mitukiii.tumblife.util.TLPostFactory.java