|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j256.ormlite.logger.Logger
public class Logger
Class which wraps our Log
interface and provides {} argument features like slf4j. It allows us to plug in
additional log systems if necessary.
Constructor Summary | |
---|---|
Logger(Log log)
|
Method Summary | |
---|---|
void |
debug(String msg,
Object... args)
Log a debug message. |
void |
debug(Throwable throwable,
String msg,
Object... args)
Log a debug message with a throwable. |
void |
error(String msg,
Object... args)
Log a error message. |
void |
error(Throwable throwable,
String msg,
Object... args)
Log a error message with a throwable. |
void |
fatal(String msg,
Object... args)
Log a fatal message. |
void |
fatal(Throwable throwable,
String msg,
Object... args)
Log a fatal message with a throwable. |
void |
info(String msg,
Object... args)
Log a info message. |
void |
info(Throwable throwable,
String msg,
Object... args)
Log a info message with a throwable. |
boolean |
isDebugEnabled()
Return if debug logging is enabled. |
boolean |
isErrorEnabled()
Return if error logging is enabled. |
boolean |
isFatalEnabled()
Return if fatal logging is enabled. |
boolean |
isInfoEnabled()
Return if info logging is enabled. |
boolean |
isTraceEnabled()
Return if trace logging is enabled. |
boolean |
isWarnEnabled()
Return if warn logging is enabled. |
void |
trace(String msg,
Object... args)
Log a trace message. |
void |
trace(Throwable throwable,
String msg,
Object... args)
Log a trace message with a throwable. |
void |
warn(String msg,
Object... args)
Log a warning message. |
void |
warn(Throwable throwable,
String msg,
Object... args)
Log a warning 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 Logger(Log log)
Method Detail |
---|
public boolean isTraceEnabled()
public boolean isDebugEnabled()
public boolean isInfoEnabled()
public boolean isWarnEnabled()
public boolean isErrorEnabled()
public boolean isFatalEnabled()
public void trace(String msg, Object... args)
public void trace(Throwable throwable, String msg, Object... args)
public void debug(String msg, Object... args)
public void debug(Throwable throwable, String msg, Object... args)
public void info(String msg, Object... args)
public void info(Throwable throwable, String msg, Object... args)
public void warn(String msg, Object... args)
public void warn(Throwable throwable, String msg, Object... args)
public void error(String msg, Object... args)
public void error(Throwable throwable, String msg, Object... args)
public void fatal(String msg, Object... args)
public void fatal(Throwable throwable, String msg, Object... args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |