|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jotm.TraceTm
Field Summary | |
protected static org.objectweb.util.monolog.api.Logger |
jotmLogger
|
protected static org.objectweb.util.monolog.api.Logger |
jtaLogger
|
static String |
prefix
prefix used to identify JOTM loggers |
protected static org.objectweb.util.monolog.api.Logger |
tmLogger
|
Constructor Summary | |
TraceTm()
|
Method Summary | |
static void |
configure()
Configure the log for JOTM. |
static void |
configure(org.objectweb.util.monolog.api.LoggerFactory lf)
Configure the log for JOTM |
static void |
debugJta(String msg)
Log a JTA debug message. |
static void |
debugTm(String msg)
Log a TM debug message. |
static void |
error(String msg)
Log an error message. |
static void |
error(String msg,
Throwable th)
Log an error message and a stack trace from a Throwable object. |
static boolean |
isDebugJta()
Test if JTA debug messages are logged. |
static boolean |
isDebugTm()
Test if TM debug messages are logged. |
static void |
verbose(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 String prefix
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 jtaLogger
Constructor Detail |
public TraceTm()
Method Detail |
public static void configure()
trace.properties
,
which should be available from the classpath.
public static void configure(org.objectweb.util.monolog.api.LoggerFactory lf)
public static void verbose(String msg)
public static void error(String msg)
public static void error(String msg, Throwable th)
public static boolean isDebugTm()
true
if TM debug messages are logged,
false
otherwisepublic static void debugTm(String msg)
public static boolean isDebugJta()
true
if JTA debug messages are logged,
false
otherwisepublic static void debugJta(String msg)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |