|
||||||||||
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.CommonsLoggingLogger
public class CommonsLoggingLogger
Logger
implementation based on jakarta commons-logging.
Please notice commons-logging configuration is out of scope of jMonit runtime discovery. If you get troubles using commons-logging, read the doc at {http://jakarta.apache.org/commons/logging} and/or use the diagnostic mode of commons-logging 1.1 to check for classloaders conflicts.
Constructor Summary | |
---|---|
CommonsLoggingLogger(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 CommonsLoggingLogger(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 |