| Simple Debug class that allows command line enabling of debugging by
setting -D properties. For example,
java -DDebug.StackMVC ...
will enable the printing of all debug messages with the StackMVC key.
To enable all debugging without listing every class, use:
java -DDebug.all ...
Note that this class is obsolete in Java 1.4. There you should use the logging utility.
author: Original code by Ian Darwin (Java Cookbook). author: Philip Johnson (timestamp and other enhancements.) version: $Id: Debug.java,v 1.2 2003/01/25 01:49:02 jagustin Exp $ |