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.6 2001/12/10 23:12:09 geels Exp $
- Author:
- Sean C. Rhea
Constructor Summary |
Debug()
|
Method Summary |
static void |
print(String tag,
String msg)
If debugging has been turned on for tag , print
msg . |
static void |
println(String tag,
String msg)
If debugging has been turned on for tag , print
msg , followed by a new line. |
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 |
Debug
public Debug()
tag_class
public static final String tag_class(String fullname)
println
public static final void println(String tag,
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.
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.
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
.