Android Open Source - SQLDroid Log






From Project

Back to project page SQLDroid.

License

The source code is released under:

MIT License

If you think the Android project SQLDroid 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 org.sqldroid;
// ww w.  jav  a2s .  c  om
public class Log {
    public static int LEVEL = android.util.Log.WARN;
    private static final String TAG = "SQLDroid";

    static void d(String message) {
        if (LEVEL<=android.util.Log.DEBUG) android.util.Log.d(TAG, message);
    }

    static void e(String message) {
        if (LEVEL<=android.util.Log.ERROR) android.util.Log.e(TAG, message);
    }

    static void e(String message, Throwable t) {
        if (LEVEL<=android.util.Log.ERROR) android.util.Log.e(TAG, message, t);
    }

    static void i(String message) {
        if (LEVEL<=android.util.Log.INFO) android.util.Log.i(TAG, message);
    }

    static void v(String message) {
        if (LEVEL<=android.util.Log.VERBOSE) android.util.Log.v(TAG, message);
    }

}




Java Source Code List

android.content.ContentValues.java
android.database.AbstractCursor.java
android.database.Cursor.java
android.database.MatrixCursor.java
android.database.MergeCursor.java
android.database.SQLException.java
android.database.SQLite.java
android.database.sqlite.SQLiteDatabaseLockedException.java
android.database.sqlite.SQLiteDatabase.java
android.database.sqlite.SQLiteException.java
android.util.Log.java
org.sqldroid.DebugPrinter.java
org.sqldroid.DroidDataSource.java
org.sqldroid.Log.java
org.sqldroid.SQLDroidBlob.java
org.sqldroid.SQLDroidClob.java
org.sqldroid.SQLDroidConnection.java
org.sqldroid.SQLDroidDatabaseMetaData.java
org.sqldroid.SQLDroidDriver.java
org.sqldroid.SQLDroidPreparedStatement.java
org.sqldroid.SQLDroidResultSetMetaData.java
org.sqldroid.SQLDroidResultSet.java
org.sqldroid.SQLDroidSQLException.java
org.sqldroid.SQLDroidStatement.java
org.sqldroid.SQLiteDatabase.java