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 java.io.PrintStream g_Out
          This variable holds the output writer, by default this is System.out
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 g_Out (if g_Tracing is true)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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


g_Out

public static java.io.PrintStream g_Out
This variable holds the output writer, by default this is System.out

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 g_Out (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)