|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xnap.util.Debug
public class Debug
This class acts as a controller for the log4j logging framework.
| Constructor Summary | |
|---|---|
Debug()
|
|
| Method Summary | |
|---|---|
static java.io.File |
getErrorFile()
Returns the file that is used to log all uncaught exceptions. |
static long |
getErrorFileSize()
Returns the size of the error file. |
static void |
init(java.io.File prefsFile,
org.apache.log4j.Level level)
Initializes the debug environment. |
static void |
setErrorFile(java.io.File f)
Sets the error file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Debug()
| Method Detail |
|---|
public static java.io.File getErrorFile()
setErrorFile(File)public static long getErrorFileSize()
getErrorFile()
public static void init(java.io.File prefsFile,
org.apache.log4j.Level level)
public static void setErrorFile(java.io.File f)
getErrorFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||