Android Open Source - pdsql Debug Util






From Project

Back to project page pdsql.

License

The source code is released under:

Apache License

If you think the Android project pdsql 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 com.piscessera.pdsql.utils;
/*  ww  w  .j a va  2 s .c  o  m*/
import android.content.Context;
import android.util.Log;
import android.widget.Toast;

public class DebugUtil {
  private static final String TAG = "PDSQL";

  public static void d(String msg) {
    Log.d(TAG, msg + " with " + System.currentTimeMillis());
  }

  public static void i(String msg) {
    Log.i(TAG, msg + " with " + System.currentTimeMillis());
  }

  public static void w(String msg) {
    Log.w(TAG, msg + " with " + System.currentTimeMillis());
  }

  public static void e(String msg) {
    Log.e(TAG, msg + " with " + System.currentTimeMillis());
  }

  public static void t(Context mContext, String msg) {
    Toast.makeText(mContext, msg, Toast.LENGTH_SHORT).show();
  }
}




Java Source Code List

com.piscessera.pdsql.DatabaseContentValuesUtil.java
com.piscessera.pdsql.DatabaseCore.java
com.piscessera.pdsql.DatabaseCursorUtil.java
com.piscessera.pdsql.Dsql.java
com.piscessera.pdsql.GenericBase.java
com.piscessera.pdsql.utils.ApplicationUtil.java
com.piscessera.pdsql.utils.DateUtil.java
com.piscessera.pdsql.utils.DebugUtil.java
com.piscessera.pdsql.utils.FileUtil.java