simkin
Class Tracer

java.lang.Object
  |
  +--simkin.Tracer

public final class Tracer
extends java.lang.Object

This class provides an interface to System.out.println


Field Summary
static boolean g_Tracing
          This variable controls whether the output is printed to stdout or not - by default the value is true
 
Constructor Summary
Tracer()
           
 
Method Summary
static void trace(java.lang.Exception e)
          This method dumps the given exception to stdout (if g_Tracing is true)
static void trace(java.lang.String msg)
          This method causes the given message to be printed to stdout (if g_Tracing is true)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

g_Tracing

public static boolean g_Tracing
This variable controls whether the output is printed to stdout or not - by default the value is true
Constructor Detail

Tracer

public Tracer()
Method Detail

trace

public static void trace(java.lang.String msg)
This method causes the given message to be printed to stdout (if g_Tracing is true)

trace

public static void trace(java.lang.Exception e)
This method dumps the given exception to stdout (if g_Tracing is true)