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

/*
 * Created on May 9, 2012//from w w  w  . jav  a  2s.  c  o  m
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package android.util;

import org.apache.log4j.Logger;

public class Log {

  public static void i(String string, String sql) {
    Logger.getLogger(Log.class).info(string + ":" + sql);    
  }

  public static void v(String string, String sql) {
    Logger.getLogger(Log.class).debug(string + ":" + sql);    
  }

  public static void e(String string, String sql) {
    Logger.getLogger(Log.class).error(string + ":" + sql);    
  }

  public static void d(String string, String sql) {
    Logger.getLogger(Log.class).debug(string + ":" + sql);    
  }

  public static void e(String string, String string2, Exception e) {
    Logger.getLogger(Log.class).error(string + ":" + string2, e);
  }

}




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