|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jmonit.log.Log org.jmonit.log.Log4jLogger
public class Log4jLogger
Logger
implementation that delegates to log4j loggers.
Use the deprecate Priority
constants for compatibility with
earlyer versions of log4j.
Constructor Summary | |
---|---|
Log4jLogger(java.lang.Class caller)
Constructor |
Method Summary | |
---|---|
void |
debug(java.lang.String message)
|
void |
error(java.lang.String message)
|
void |
error(java.lang.String message,
java.lang.Throwable t)
|
void |
info(java.lang.String message)
|
void |
info(java.lang.String message,
java.lang.Throwable t)
|
boolean |
isDebugEnabled()
|
void |
warn(java.lang.String message)
|
void |
warn(java.lang.String message,
java.lang.Throwable t)
|
Methods inherited from class org.jmonit.log.Log |
---|
getLog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Log4jLogger(java.lang.Class caller)
caller
- target logging classMethod Detail |
---|
public boolean isDebugEnabled()
isDebugEnabled
in class Log
info.jmonit.logger.Log#isDebugEnabled()
public void debug(java.lang.String message)
debug
in class Log
message
- message to be loggedinfo.jmonit.logger.Log#debug(java.lang.String)
public void info(java.lang.String message)
info
in class Log
message
- message to be loggedinfo.jmonit.logger.Log#info(java.lang.String)
public void info(java.lang.String message, java.lang.Throwable t)
info
in class Log
message
- message to be loggedt
- Exception to be loggedinfo.jmonit.logger.Log#info(java.lang.String, Throwable)
public void error(java.lang.String message)
error
in class Log
message
- message to be loggedinfo.jmonit.logger.Log#error(java.lang.String)
public void error(java.lang.String message, java.lang.Throwable t)
error
in class Log
message
- message to be loggedt
- Exception to be loggedinfo.jmonit.logger.Log#error(java.lang.String, Throwable)
public void warn(java.lang.String message)
warn
in class Log
message
- message to be loggedinfo.jmonit.logger.Log#warn(java.lang.String)
public void warn(java.lang.String message, java.lang.Throwable t)
warn
in class Log
message
- message to be loggedt
- Exception to be loggedinfo.jmonit.logger.Log#warn(java.lang.String, Throwable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |