|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jotm.TraceTimer
public class TraceTimer
Traces for module timer
Field Summary | |
---|---|
static boolean |
isDebug
|
static boolean |
isVerbose
|
static java.io.PrintWriter |
logWriter
|
Constructor Summary | |
---|---|
TraceTimer()
|
Method Summary | |
---|---|
static void |
debug(java.lang.String msg)
print the debug timer message if the logger is not null |
static void |
error(java.lang.String msg)
print the error message if the logger is not null |
static void |
error(java.lang.String msg,
java.lang.Throwable th)
print the throwing message if the logger is not null |
static void |
setDebug(boolean set)
set the debug timer |
static void |
setLogWriter(java.io.PrintWriter log)
set the log writer |
static void |
setVerbose(boolean set)
set the verbose flag |
static void |
verbose(java.lang.String msg)
print the verbose message if the logger is not null |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean isDebug
public static boolean isVerbose
public static java.io.PrintWriter logWriter
Constructor Detail |
---|
public TraceTimer()
Method Detail |
---|
public static void setDebug(boolean set)
public static void setVerbose(boolean set)
public static void setLogWriter(java.io.PrintWriter log)
public static void verbose(java.lang.String msg)
public static void debug(java.lang.String msg)
public static void error(java.lang.String msg)
public static void error(java.lang.String msg, java.lang.Throwable th)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |