All Packages Class Hierarchy This Package Previous Next Index
Class dtai.util.Debug
java.lang.Object
|
+----dtai.util.Debug
- public class Debug
- extends Object
Debug class
-
Debug()
-
-
getLevel()
- gets the debug level
-
isOn()
- isOn
-
off()
- turns debug off
-
on()
- turns debug on with default level of 100
-
on(int)
- turns debug level on and sets with specified debug level
-
print(int, String)
- prints a string if the debug level is greater than or equal to the level
-
print(String)
- prints a string
-
println()
- println
-
println(int)
- println
-
println(int, String)
- println
-
println(String)
- println
-
quietOff()
- quietOff
-
quietOn()
- quietOn
-
quietOn(int)
- quietOn
Debug
public Debug()
on
public static void on()
- turns debug on with default level of 100
on
public static void on(int level)
- turns debug level on and sets with specified debug level
- Parameters:
- level - the specified debug level
off
public static void off()
- turns debug off
quietOn
public static void quietOn()
- quietOn
quietOn
public static void quietOn(int level)
- quietOn
- Parameters:
- level - the level
quietOff
public static void quietOff()
- quietOff
isOn
public static boolean isOn()
- isOn
- Returns:
- boolean
getLevel
public static int getLevel()
- gets the debug level
- Returns:
- the level
print
public static void print(String string)
- prints a string
- Parameters:
- string - the string to be printed
print
public static void print(int level,
String string)
- prints a string if the debug level is greater than or equal to the level
- Parameters:
- level - the level
- string - the string to pe printed
println
public static void println()
- println
println
public static void println(int level)
- println
- Parameters:
- level - the level
println
public static void println(String string)
- println
- Parameters:
- string - the string to be printed
println
public static void println(int level,
String string)
- println
- Parameters:
- level - the level
- string - the string to be printed
All Packages Class Hierarchy This Package Previous Next Index