|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xact.analysis.Debug
public class Debug
Debug mode settings.
Enable debug info with -Ddk.brics.xact.analysis.debug=<LEVEL>
.
Method Summary | |
---|---|
static void |
dec()
Decrement indentation level. |
static int |
getLevel()
Returns the debug level. |
static void |
inc()
Increment indentation level. |
static void |
print(int level,
boolean indent,
String s)
Prints to System.err if debug is enabled. |
static void |
println(int level,
boolean indent,
String s)
Prints to System.err if debug is enabled. |
static void |
resetIndent()
Resets indentation level. |
static void |
setLevel(int level)
Sets the debug level. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void dec()
public static int getLevel()
public static void inc()
public static void print(int level, boolean indent, String s)
System.err
if debug is enabled.
level
- minimal debug level required to print the stringindent
- indent if trues
- stringpublic static void println(int level, boolean indent, String s)
System.err
if debug is enabled.
level
- minimal debug level required to print the stringindent
- indent if trues
- stringpublic static void resetIndent()
public static void setLevel(int level)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |