|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ipdr.utils.Debug
public class Debug
This class is added to On and Off the functionality of print information on console.
| Field Summary | |
|---|---|
static int |
DEBUG
Int representing log level as DEBUG |
static boolean |
debug_
Flag for displaying variable values |
static int |
ERROR
Int representing log level as ERROR |
static boolean |
error_
Flag for displaying errors |
static int |
INFO
Int representing log level as INFO |
static boolean |
info_
Flag for displaying information |
| Constructor Summary | |
|---|---|
Debug()
Default Constructor. |
|
| Method Summary | |
|---|---|
static void |
logLevel(int[] logLevel)
This method will be called by the other classes with Int array to choose the Debug Option. |
static void |
write(int mode,
java.lang.String strToBeWritten)
Method to printout on console depending on the debug mode invoked by the user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean info_
public static boolean debug_
public static boolean error_
public static final int INFO
public static final int DEBUG
public static final int ERROR
| Constructor Detail |
|---|
public Debug()
| Method Detail |
|---|
public static void write(int mode,
java.lang.String strToBeWritten)
public static void logLevel(int[] logLevel)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||