|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.j256.ormlite.logger.AndroidLog
public class AndroidLog
Implementation of our logger which delegates to the internal Android logger via reflection. We use reflection so we can avoid the dependency.
| Constructor Summary | |
|---|---|
AndroidLog(String className)
|
|
| Method Summary | |
|---|---|
void |
debug(String message)
Log a debug message. |
void |
debug(String message,
Throwable t)
Log a debug message with a throwable. |
void |
error(String message)
Log a error message. |
void |
error(String message,
Throwable t)
Log a error message with a throwable. |
void |
fatal(String message)
Log a fatal message. |
void |
fatal(String message,
Throwable t)
Log a fatal message with a throwable. |
void |
info(String message)
Log a info message. |
void |
info(String message,
Throwable t)
Log a info message with a throwable. |
boolean |
isDebugEnabled()
Returns true if the log mode is in debug or higher. |
boolean |
isErrorEnabled()
Returns true if the log mode is in error or higher. |
boolean |
isFatalEnabled()
Returns true if the log mode is in fatal or higher. |
boolean |
isInfoEnabled()
Returns true if the log mode is in info or higher. |
boolean |
isTraceEnabled()
Returns true if the log mode is in trace or higher. |
boolean |
isWarnEnabled()
Returns true if the log mode is in warn or higher. |
void |
trace(String message)
Log a trace message. |
void |
trace(String message,
Throwable t)
Log a trace message with a throwable. |
void |
warn(String message)
Log a warn message. |
void |
warn(String message,
Throwable t)
Log a warn message with a throwable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AndroidLog(String className)
| Method Detail |
|---|
public boolean isTraceEnabled()
Log
isTraceEnabled in interface Logpublic boolean isDebugEnabled()
Log
isDebugEnabled in interface Logpublic boolean isInfoEnabled()
Log
isInfoEnabled in interface Logpublic boolean isWarnEnabled()
Log
isWarnEnabled in interface Logpublic boolean isErrorEnabled()
Log
isErrorEnabled in interface Logpublic boolean isFatalEnabled()
Log
isFatalEnabled in interface Logpublic void trace(String message)
Log
trace in interface Log
public void trace(String message,
Throwable t)
Log
trace in interface Logpublic void debug(String message)
Log
debug in interface Log
public void debug(String message,
Throwable t)
Log
debug in interface Logpublic void info(String message)
Log
info in interface Log
public void info(String message,
Throwable t)
Log
info in interface Logpublic void warn(String message)
Log
warn in interface Log
public void warn(String message,
Throwable t)
Log
warn in interface Logpublic void error(String message)
Log
error in interface Log
public void error(String message,
Throwable t)
Log
error in interface Logpublic void fatal(String message)
Log
fatal in interface Log
public void fatal(String message,
Throwable t)
Log
fatal in interface Log
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||