|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.objectweb.jotm.util.TraceTm
| Field Summary | |
protected static org.objectweb.util.monolog.api.Logger |
ccLogger
|
protected static org.objectweb.util.monolog.api.Logger |
exLogger
|
protected static boolean |
isConfigured
log already configured flag |
protected static org.objectweb.util.monolog.api.Logger |
jotmLogger
|
protected static org.objectweb.util.monolog.api.Logger |
jtaLogger
|
protected static org.objectweb.util.monolog.api.Logger |
otsLogger
|
static java.lang.String |
prefix
prefix used to identify JOTM loggers |
protected static org.objectweb.util.monolog.api.Logger |
recLogger
|
protected static org.objectweb.util.monolog.api.Logger |
tmLogger
|
| Constructor Summary | |
TraceTm()
|
|
| Method Summary | |
static void |
configure()
Configure the log for JOTM. |
protected static void |
configure(org.objectweb.util.monolog.api.LoggerFactory lf)
Configure the log for JOTM |
static void |
debugCc(java.lang.String msg)
Log a concurrency control debug message. |
static void |
debugJta(java.lang.String msg)
Log a JTA debug message. |
static void |
debugOts(java.lang.String msg)
Log a OTS debug message. |
static void |
debugRec(java.lang.String msg)
Log a recovery debug message. |
static void |
debugTm(java.lang.String msg)
Log a TM debug message. |
static void |
error(java.lang.String msg)
Log an error message. |
static void |
error(java.lang.String msg,
java.lang.Throwable th)
Log an error message and a stack trace from a Throwable object. |
static boolean |
isDebugCc()
Test if concurrency control debug messages are logged. |
static boolean |
isDebugJta()
Test if JTA debug messages are logged. |
static boolean |
isDebugOts()
Test if OTS debug messages are logged. |
static boolean |
isDebugRec()
Test if recovery debug messages are logged. |
static boolean |
isDebugTm()
Test if TM debug messages are logged. |
static void |
logEx(java.lang.String msg)
Log an example log message. |
static void |
verbose(java.lang.String msg)
Log a verbose message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String prefix
protected static boolean isConfigured
protected static org.objectweb.util.monolog.api.Logger jotmLogger
protected static org.objectweb.util.monolog.api.Logger tmLogger
protected static org.objectweb.util.monolog.api.Logger ccLogger
protected static org.objectweb.util.monolog.api.Logger recLogger
protected static org.objectweb.util.monolog.api.Logger otsLogger
protected static org.objectweb.util.monolog.api.Logger jtaLogger
protected static org.objectweb.util.monolog.api.Logger exLogger
| Constructor Detail |
public TraceTm()
| Method Detail |
public static void configure()
trace.properties,
which should be available from the classpath.
protected static void configure(org.objectweb.util.monolog.api.LoggerFactory lf)
public static void verbose(java.lang.String msg)
public static void error(java.lang.String msg)
public static void error(java.lang.String msg,
java.lang.Throwable th)
public static boolean isDebugTm()
true if TM debug messages are logged,
false otherwisepublic static void debugTm(java.lang.String msg)
public static boolean isDebugJta()
true if JTA debug messages are logged,
false otherwisepublic static void debugJta(java.lang.String msg)
public static boolean isDebugOts()
true if OTS debug messages are logged,
false otherwisepublic static void debugOts(java.lang.String msg)
public static boolean isDebugCc()
true if c.c. debug messages are logged,
false otherwisepublic static void debugCc(java.lang.String msg)
public static boolean isDebugRec()
true if recovery debug messages are logged,
false otherwisepublic static void debugRec(java.lang.String msg)
public static void logEx(java.lang.String msg)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||