| Constructor and Description |
|---|
DebugOutImpl(String id,
boolean debug) |
DebugOutImpl(String id,
boolean debug,
DebugSink sink) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(Object... args)
If getDebug() returns true, output the arguments
|
void |
debugMethod(String methodName,
Object... args) |
void |
debugMethod(String msg,
String methodName,
Object... args) |
boolean |
getDebug()
Return true if debugging is on.
|
String |
getID()
Return the arbitrary identifier for this instance.
|
static String |
methodString(String name,
Object... args) |
void |
print(Object o)
Output a message without a newline.
|
void |
println(Object o)
Output a message with a newline.
|
void |
setDebug(boolean debug) |
String |
toString(Object... args) |
public DebugOutImpl(String id, boolean debug)
public String getID()
DebugOutpublic boolean getDebug()
DebugOutpublic void print(Object o)
DebugSinkpublic void println(Object o)
DebugSinkpublic void setDebug(boolean debug)
public void debug(Object... args)
DebugOutpublic void debugMethod(String methodName, Object... args)
debugMethod in interface DebugOutpublic void debugMethod(String msg, String methodName, Object... args)
debugMethod in interface DebugOutCopyright © 2019. All rights reserved.