Skip to content

Instantly share code, notes, and snippets.

@arlm
Forked from davetrux/SQLiteDebugADB
Last active August 29, 2015 14:18
Show Gist options
  • Save arlm/231b6c3e9030646e11d0 to your computer and use it in GitHub Desktop.
Save arlm/231b6c3e9030646e11d0 to your computer and use it in GitHub Desktop.
public const bool DEBUG_SQL_LOG = Android.Util.Log.IsLoggable("SQLiteLog", Android.Util.LogPriority.Verbose);
public const bool DEBUG_SQL_STATEMENTS = Android.Util.Log.IsLoggable("SQLiteStatements", Android.Util.LogPriority.Verbose);
public const bool DEBUG_SQL_TIME = Android.Util.Log.IsLoggable("SQLiteTime", Android.Util.LogPriority.Verbose);
public static final boolean DEBUG_SQL_LOG = Log.isLoggable("SQLiteLog", Log.VERBOSE);
public static final boolean DEBUG_SQL_STATEMENTS = Log.isLoggable("SQLiteStatements", Log.VERBOSE);
public static final boolean DEBUG_SQL_TIME = Log.isLoggable("SQLiteTime", Log.VERBOSE);
AccountManagerService
Accounts
Account
PackageManager
SQLiteLog
SQLiteStatements
SQLiteStatement
SQLiteDatabase
SQLiteLog
SQLiteTime
Databases
GeckoBrowserDBHelper
adb shell setprop log.tag.SQLiteLog I
adb shell setprop log.tag.SQLiteStatements I
adb shell stop
adb shell start
# VERBOSE (V) , DEBUG (D), INFO (I), WARN (W), ERROR (E), ASSERT (A), or SUPPRESS(S).
adb shell setprop log.tag.SQLiteLog V
adb shell setprop log.tag.SQLiteStatements V
adb shell stop
adb shell start
# VERBOSE (V) , DEBUG (D), INFO (I), WARN (W), ERROR (E), ASSERT (A), or SUPPRESS(S).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment