Package | Description |
---|---|
jhelp.util.debug |
Debugging tools and utilities
|
Modifier and Type | Field and Description |
---|---|
private static DebugLevel |
Debug.debugLevel
Actual debug level
|
Modifier and Type | Method and Description |
---|---|
static DebugLevel |
Debug.getDebugLevel()
Actual debug level
|
static DebugLevel |
DebugLevel.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DebugLevel[] |
DebugLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
Debug.printCalledFrom(DebugLevel debugLevel)
Print information to know which part of code, called a method.
|
static void |
Debug.println(DebugLevel debugLevel,
java.lang.Object... message)
Print some information
|
static void |
Debug.printMark(DebugLevel debugLevel,
java.lang.String mark)
Print a mark
|
private static void |
Debug.printMessage(DebugLevel debugLevel,
java.lang.StackTraceElement stackTraceElement,
java.lang.Object... message)
Print a message
|
static void |
Debug.printTrace(DebugLevel debugLevel,
java.lang.Object... message)
Print an informative trace (To know the execution stack)
|
private static void |
Debug.printTrace(DebugLevel debugLevel,
java.lang.Throwable throwable,
int start)
Print a trace
|
static void |
Debug.setDebugLevel(DebugLevel debugLevel)
Change debug level
|