public class AndroidLog extends Object implements com.j256.ormlite.logger.Log
To see log messages you will do something like:
adb shell setprop log.tag.OrmLiteBaseActivity VERBOSE
NOTE: Unfortunately, Android variables are limited in size so this class takes that last 23 (sic) characters of the class name if it is larger than 23 characters. For example, if the class is AndroidDatabaseConnection you would do:
adb shell setprop log.tag.droidDatabaseConnection VERBOSE
To see all ORMLite log messages use:
adb shell setprop log.tag.ORMLite DEBUG
| Constructor and Description |
|---|
AndroidLog(String className) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLevelEnabled(com.j256.ormlite.logger.Log.Level level) |
void |
log(com.j256.ormlite.logger.Log.Level level,
String msg) |
void |
log(com.j256.ormlite.logger.Log.Level level,
String msg,
Throwable t) |
public AndroidLog(String className)
public boolean isLevelEnabled(com.j256.ormlite.logger.Log.Level level)
isLevelEnabled in interface com.j256.ormlite.logger.Logpublic void log(com.j256.ormlite.logger.Log.Level level,
String msg)
log in interface com.j256.ormlite.logger.LogThis documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.