code: public synchronized String getRecentLines() {
          StringBuilder sb = new StringBuilder();
          for (String line : ringBuffer) {
              if (sb.length() > 0) {
                  sb.append('\n');
              }
              sb.append(line);
          }
          return sb.toString();
      }
docs: Returns recent lines (up to maxLines from constructor).
  
  <p>The implementation is relatively expensive here; the design is intended for many
  processLine() calls and few getRecentLines().
  
  @return recent Console output