Methods Summary |
---|
public void | debug(java.lang.String format, java.lang.Object args)
if (mVerbose) {
info(format, args);
}
|
public void | debugNoln(java.lang.String format, java.lang.Object args)Similar to debug() but doesn't do a \n automatically.
if (mVerbose) {
String s = String.format(format, args);
System.out.print(s);
}
|
protected void | errPrintln(java.lang.String msg)for unit testing
System.err.println(msg);
|
public void | error(java.lang.String format, java.lang.Object args)
String s = String.format(format, args);
errPrintln(s);
|
public void | exception(java.lang.Throwable t, java.lang.String format, java.lang.Object args)
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
t.printStackTrace(pw);
pw.flush();
error(format + "\n" + sw.toString(), args);
|
public void | info(java.lang.String format, java.lang.Object args)
String s = String.format(format, args);
outPrintln(s);
|
protected void | outPrintln(java.lang.String msg)for unit testing
System.out.println(msg);
|
public void | setVerbose(boolean verbose)
mVerbose = verbose;
|