|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjpicedt.Log
public class Log
Utility class for printing out debugging messages.
| Field Summary | |
|---|---|
static boolean |
DEBUG
|
| Constructor Summary | |
|---|---|
Log()
|
|
| Method Summary | |
|---|---|
static void |
debug()
Usage : if (Log.DEBUG) Log.debug(); This will automatically print the calling class and method name using new JDK1.4 features. |
static void |
debug(String msg)
Usage : if (Log.DEBUG) Log.debug("message"); This will automatically print the calling class and method name using new JDK1.4 features. |
static void |
debugAppend(String msg)
use it like this : if (Log.DEBUG) Log.debugAppend(this,"bla bla"); * |
static void |
debugAppendLn(String msg)
Usage : if (Log.DEBUG) Log.debugAppendLn("bla bla"); |
static void |
error(String msg)
|
static String |
hexDump(String s)
Renvoie un vidage hexadecimal de s. |
static void |
warning(String msg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean DEBUG
| Constructor Detail |
|---|
public Log()
| Method Detail |
|---|
public static String hexDump(String s)
s. Par exemple si s vaut
"A\n0" alors la valeur renvoyée est "41 10 30".
public static void debug()
public static void debug(String msg)
public static void debugAppendLn(String msg)
public static void debugAppend(String msg)
public static void error(String msg)
public static void warning(String msg)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||