예제 #1
0
 /**
  * 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");
 }
예제 #2
0
 /** @return the debug display log, and clear it. */
 public String eatLog() {
   String sReturn = sbDebug.toString();
   sbDebug.setLength(0);
   return sReturn;
 }