|
|||||||||
| Home >> All >> com >> lilacsoftware >> orca >> [ applets overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.lilacsoftware.orca.applets
Class Debug

java.lang.Objectcom.lilacsoftware.orca.applets.Debug
- public class Debug
- extends java.lang.Object
This class implements a simple Debug Tool.
| Field Summary | |
private static Debug |
_instance
|
private int |
_loglevel
|
private java.io.PrintWriter |
_out
|
| Constructor Summary | |
private |
Debug()
|
| Method Summary | |
void |
close()
Closes log file. |
static Debug |
getInstance()
Returns Debug instance. |
void |
init(java.lang.String filename,
int level)
Inits log file. |
void |
log(int level,
java.lang.String msg)
Sends message to log file. |
void |
setLogLevel(int level)
Sets log level. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
_instance
private static Debug _instance
_out
private java.io.PrintWriter _out
_loglevel
private int _loglevel
| Constructor Detail |
Debug
private Debug()
| Method Detail |
getInstance
public static Debug getInstance()
- Returns Debug instance.
init
public void init(java.lang.String filename, int level)
- Inits log file.
close
public void close()
- Closes log file.
setLogLevel
public void setLogLevel(int level)
- Sets log level.
log
public void log(int level,
java.lang.String msg)
- Sends message to log file.
|
|||||||||
| Home >> All >> com >> lilacsoftware >> orca >> [ applets overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.lilacsoftware.orca.applets.Debug