|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.Prominic.util.log
public class log
This class is a wrapper to LogSystem. After you pass it a LogSystem object you can call its methods w/o having a handle to the object. All its methods are static.
| Field Summary | |
|---|---|
protected static LogSystem |
ls
LogSystem object. |
| Constructor Summary | |
|---|---|
log()
|
|
| Method Summary | |
|---|---|
static boolean |
dbg(java.lang.String msg)
Writes a debug message to the log. |
static boolean |
err(java.lang.String msg)
Writes an error message to the log. |
static boolean |
err(java.lang.String msg,
java.lang.Throwable t)
Writes an error message to the log. |
static void |
flush()
Flushes the log stream. |
static LogSystem |
getLogSystem()
Returns the current LogSystem handle. |
static boolean |
msg(java.lang.String msg)
Writes a (common) message to the log. |
static void |
setLogSystem(LogSystem ls)
Sets the current LogSystem handle. |
static boolean |
warn(java.lang.String msg)
Writes an warning message to the log. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static LogSystem ls
| Constructor Detail |
|---|
public log()
| Method Detail |
|---|
public static boolean dbg(java.lang.String msg)
msg - The message to be logged.
public static boolean err(java.lang.String msg)
msg - The message to be logged.
public static boolean err(java.lang.String msg,
java.lang.Throwable t)
msg - The message to be logged.
public static void flush()
public static LogSystem getLogSystem()
public static boolean msg(java.lang.String msg)
msg - The message to be logged.
public static void setLogSystem(LogSystem ls)
ls - a handle to a LogSystem object.public static boolean warn(java.lang.String msg)
msg - The message to be logged.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||