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()
DebugOut
public boolean getDebug()
DebugOut
public void print(Object o)
DebugSink
public void println(Object o)
DebugSink
public void setDebug(boolean debug)
public void debug(Object... args)
DebugOut
public void debugMethod(String methodName, Object... args)
debugMethod
in interface DebugOut
public void debugMethod(String msg, String methodName, Object... args)
debugMethod
in interface DebugOut
Copyright © 2018. All rights reserved.