|
||||||||||
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.ConsoleLogger
public class ConsoleLogger
Logger
implementation that write long to console (System.out).
Field Summary | |
---|---|
static java.lang.String |
LEVEL
System property for setting logging level |
Constructor Summary | |
---|---|
ConsoleLogger(java.lang.Class caller)
Constructeur |
Method Summary | |
---|---|
void |
debug(java.lang.String message)
|
void |
error(java.lang.String message)
|
void |
error(java.lang.String message,
java.lang.Throwable t)
|
static int |
getLevel()
|
void |
info(java.lang.String message)
|
void |
info(java.lang.String message,
java.lang.Throwable t)
|
boolean |
isDebugEnabled()
|
static void |
setLevel(int level)
|
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 |
Field Detail |
---|
public static final java.lang.String LEVEL
Constructor Detail |
---|
public ConsoleLogger(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 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)
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 static int getLevel()
public static void setLevel(int level)
level
- the level to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |