/** * Logs a string to the debug display log (used only in development servlet). * * @param s String to log */ public void log(String s) { sbDebug.append(s + "\n"); }
/** @return the debug display log, and clear it. */ public String eatLog() { String sReturn = sbDebug.toString(); sbDebug.setLength(0); return sReturn; }