|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjmathlib.core.interpreter.ErrorLogger
public class ErrorLogger
write error messages + debug information to a log file
| Constructor Summary | |
|---|---|
ErrorLogger()
|
|
| Method Summary | |
|---|---|
static void |
debugLine(double value)
display a real value to the standard output |
static void |
debugLine(int value)
display an integer to the standard output |
static void |
debugLine(java.lang.String text)
display a debug line to the standard output and the file MathLib.log |
static void |
decreaseIndent()
Decreases the level of indent |
static void |
displayStackTrace(java.lang.String message)
Prints the current execution stack trace, the list of functions that have been called up to the current one. |
void |
finalize()
Will release the file handle to the logfile |
static boolean |
getDebug()
|
static void |
increaseIndent()
Increases the level of indent |
static void |
setDebug(boolean _debug)
sets the debug flag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorLogger()
| Method Detail |
|---|
public static boolean getDebug()
public static void setDebug(boolean _debug)
_debug - = should debug information be displayedpublic static void debugLine(java.lang.String text)
text - = the text to display
public void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic static void debugLine(int value)
value - = the number to displaypublic static void debugLine(double value)
value - = the number to displaypublic static void increaseIndent()
public static void decreaseIndent()
public static void displayStackTrace(java.lang.String message)
message - = The message to display before the stack trace
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||