policyMgmt
Class Debug

java.lang.Object
  |
  +--policyMgmt.Debug

public class Debug
extends java.lang.Object

Debugging utility for the policyMgmt package


Constructor Summary
Debug()
           
 
Method Summary
static void addLevel(java.lang.String level)
          Add a level (specified by a tag string) to be printed.
static void obj(java.lang.String level, java.lang.Object what)
          Submit an object to be printed as a debug message at a given level.
static void obj(java.lang.String level, java.lang.String tag, java.lang.Object what)
          Submit an object to be printed as a debug message at a given level and prefixed with a given tag.
static void str(java.lang.String level, java.lang.String text)
          Submit a debug message at a given level
 
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

addLevel

public static void addLevel(java.lang.String level)
Add a level (specified by a tag string) to be printed.
Parameters:
level - the debug level

str

public static void str(java.lang.String level,
                       java.lang.String text)
Submit a debug message at a given level
Parameters:
level - the debug level
text - the debug message

obj

public static void obj(java.lang.String level,
                       java.lang.String tag,
                       java.lang.Object what)
Submit an object to be printed as a debug message at a given level and prefixed with a given tag.
Parameters:
level - the debug level
tag - the tag tu be used as a prefix of the message
what - the object

obj

public static void obj(java.lang.String level,
                       java.lang.Object what)
Submit an object to be printed as a debug message at a given level.
Parameters:
level - the debug level
what - the object