org.sqldroid.Log Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SQLDroid Show documentation
Show all versions of SQLDroid Show documentation
SQLDroid with some performance improvements
The newest version!
package org.sqldroid;
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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy