ostore.util
Class Debug

java.lang.Object
  |
  +--ostore.util.Debug

public class Debug
extends Object

Debug provides printing facilities for debug purposes.

Version:
$Id: Debug.java,v 1.11 2004/04/30 22:14:04 hweather Exp $
Author:
Sean C. Rhea

Constructor Summary
Debug()
           
 
Method Summary
static void print(String msg)
           
static void print(String tag, char msg)
           
static void print(String tag, String msg)
          If debugging has been turned on for tag, print msg.
static void println(String msg)
          If debugging has been turned on for tag, print msg, followed by a new line.
static void println(String tag, String msg)
           
static void printtag(String tag, String msg)
          If debugging has been turned on for tag, print tag+msg.
static void printtagln(String tag, String msg)
          If debugging has been turned on for tag, print tag+msg, followed by a new line.
static String tag_class(String fullname)
           
static void turnOff(String tag)
          Turn off debugging for tag.
static void turnOn(String tag)
          Turn on debugging for tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Debug

public Debug()
Method Detail

tag_class

public static final String tag_class(String fullname)

println

public static final void println(String msg)
If debugging has been turned on for tag, print msg, followed by a new line. The tag should contain the name of the file this function is called from.


println

public static final void println(String tag,
                                 String msg)

printtagln

public static final void printtagln(String tag,
                                    String msg)
If debugging has been turned on for tag, print tag+msg, followed by a new line. The tag should contain the name of the file this function is called from.


print

public static final void print(String tag,
                               String msg)
If debugging has been turned on for tag, print msg. The tag should contain the name of the file this function is called from.


print

public static final void print(String msg)

print

public static final void print(String tag,
                               char msg)

printtag

public static final void printtag(String tag,
                                  String msg)
If debugging has been turned on for tag, print tag+msg. The tag should contain the name of the file this function is called from.


turnOn

public static final void turnOn(String tag)
Turn on debugging for tag.


turnOff

public static final void turnOff(String tag)
Turn off debugging for tag.