|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gxos.debug.Log
Log utility
Provides methods for debugging.
$Id: Log.java,v 1.3 2001/04/26 17:53:46 balsoy Exp $
Constructor Summary | |
Log()
|
Method Summary | |
static void |
debug(boolean d)
Sets debug mode to on or off. |
static void |
debug(java.lang.Object obj,
java.lang.String msg)
Prints debug message along with an object. |
static void |
debug(java.lang.String msg)
Prints a debug message with a date preceding it. |
static void |
error(java.lang.String err)
Prints errors messages if used to the error output stream. |
static void |
msg(java.lang.String msg)
Prints message to the log output. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Log()
Method Detail |
public static void debug(boolean d)
d
- Debug messages printed if true; otherwise no message sent
to the log output stream.public static void debug(java.lang.String msg)
msg
- Message to be printed.public static void debug(java.lang.Object obj, java.lang.String msg)
obj
- Object related to the message or context.msg
- Message to be printed.public static void error(java.lang.String err)
err
- Error message to be printed.public static void msg(java.lang.String msg)
msg
- Message to be printed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |