|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A log is a simple recipient of information about the system. It does not display or render this information, but instead passes it back to a set of log targets. A log is administered by a LogManager so you cannot instantiate one directly. Instead you must ask the Logmanager or a log instance.
Method Summary | |
void |
debug(java.lang.String msg)
A shortform for debug(msg,null) |
void |
debug(java.lang.String msg,
java.lang.Exception e)
Debug messages are incidental programmer notes which should not be enabled in a production system. |
void |
error(java.lang.String msg)
A shortform for debug(msg,null) |
void |
error(java.lang.String msg,
java.lang.Exception e)
An error is a major failure within the system. |
void |
info(java.lang.String msg)
Info is fairly unimportant information about routine processing within the system. |
boolean |
loggingDebug()
Ask the log system if it wants these kinds of log messages. |
boolean |
loggingInfo()
|
boolean |
loggingNotice()
|
boolean |
loggingWarning()
|
void |
notice(java.lang.String msg)
Notices are important information about routine processing within the system. |
void |
warning(java.lang.String msg)
A shortform for debug(msg,null) |
void |
warning(java.lang.String msg,
java.lang.Exception e)
Warnings are messages outlining unexpected non-routine events within the system. |
Method Detail |
public void debug(java.lang.String msg, java.lang.Exception e)
public void debug(java.lang.String msg)
public void info(java.lang.String msg)
public void notice(java.lang.String msg)
public void warning(java.lang.String msg, java.lang.Exception e)
public void warning(java.lang.String msg)
public void error(java.lang.String msg)
public void error(java.lang.String msg, java.lang.Exception e)
public boolean loggingDebug()
public boolean loggingInfo()
public boolean loggingNotice()
public boolean loggingWarning()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |