org.objectweb.jonas_tm
Class TraceTm

java.lang.Object
  |
  +--org.objectweb.jonas_tm.TraceTm

public class TraceTm
extends Object


Field Summary
static boolean isDebugJta
           
static boolean isDebugTm
           
static boolean isVerbose
           
static PrintWriter logWriter
           
 
Constructor Summary
TraceTm()
           
 
Method Summary
static void debugJta(String msg)
          print the debug JTA message if the logger is not null
static void debugTm(String msg)
          print the debug TM message if the logger is not null
static void error(String msg)
          print the error message if the logger is not null
static void error(String msg, Throwable th)
          print the throwing message if the logger is not null
static void setDebugJta(boolean set)
          set the debug JTA
static void setDebugTm(boolean set)
          set the debug TM
static void setLogWriter(PrintWriter log)
          set the log writer
static void setVerbose(boolean set)
          set the verbose flag
static void verbose(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

isDebugTm

public static boolean isDebugTm

isDebugJta

public static boolean isDebugJta

isVerbose

public static boolean isVerbose

logWriter

public static PrintWriter logWriter
Constructor Detail

TraceTm

public TraceTm()
Method Detail

setDebugTm

public static void setDebugTm(boolean set)
set the debug TM


setDebugJta

public static void setDebugJta(boolean set)
set the debug JTA


setVerbose

public static void setVerbose(boolean set)
set the verbose flag


setLogWriter

public static void setLogWriter(PrintWriter log)
set the log writer


verbose

public static void verbose(String msg)
print the verbose message if the logger is not null


debugTm

public static void debugTm(String msg)
print the debug TM message if the logger is not null


debugJta

public static void debugJta(String msg)
print the debug JTA message if the logger is not null


error

public static void error(String msg)
print the error message if the logger is not null


error

public static void error(String msg,
                         Throwable th)
print the throwing message if the logger is not null