|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjitas.util.Logger
public class Logger
The Logger class allows straightforward logging of error/warning information into a log file, where the associated time and date of the error/warning will be recorded automatically with the message.
Constructor Summary | |
---|---|
Logger()
|
Method Summary | |
---|---|
static void |
addEntry(java.lang.String message)
This method adds an entry to the error log file warnings.txt, recording the time and date and the nature of the error/warning. |
static void |
clearLog()
Clear the log file to empty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Logger()
Method Detail |
---|
public static void addEntry(java.lang.String message)
message
- The descriptive string with the error/warning informationpublic static void clearLog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |