| java.lang.Object com.quadcap.util.Debug
Debug | public class Debug (Code) | | Common functions for debug and log output.
author: Stan Bailes |
debugAll | final public static int debugAll(Code) | | |
debugElap | final public static int debugElap(Code) | | |
debugInterval | final public static int debugInterval(Code) | | |
debugMode | public static int debugMode(Code) | | |
debugNoTime | final public static int debugNoTime(Code) | | |
debugOff | final public static int debugOff(Code) | | |
debugPackage | final public static int debugPackage(Code) | | |
debugShowTime | final public static int debugShowTime(Code) | | |
debugSome | final public static int debugSome(Code) | | |
debugTime | public static int debugTime(Code) | | |
last | public static long last(Code) | | |
printLevel | public static int printLevel(Code) | | |
start | public static long start(Code) | | |
debugSite | static String debugSite(int level, int depth)(Code) | | |
getClassContext | public static Class[] getClassContext()(Code) | | |
println | public static synchronized void println(int level, String s)(Code) | | Debug output at level level .
|
println | public static synchronized void println(int level, int depth, String s)(Code) | | Debug output at level level .
|
setDebugMode | public static void setDebugMode(String mode)(Code) | | Specify the debug mode using the convenient string representation
Parameters: mode - the debug mode. |
setLogFile | public static void setLogFile(String name) throws IOException(Code) | | Specify the file to be used for debug/log output. If there is
already a debug file open with a different name, it is closed first,
and if the name specified is "stdout" , then debug
output is directed to System.out .
Parameters: name - the name of the debug log file. exception: IOException - may be thrown. |
setLogLevel | public static void setLogLevel(int printLevel)(Code) | | Specify the 'level' for debugging output. Only debug statements
satisfying level <= printLevel result in output.
Parameters: printLevel - the new debug output level. |
|
|