code: public List<LogRecord> getView() {
          return new AbstractList<LogRecord>() {
              public LogRecord get(int index) {
                  // flip the order
                  synchronized (RingBufferLogHandler.this) {
                      return records[(start+(size-(index+1)))%records.length];
                  }
              }
  
              public int size() {
                  return size;
              }
          };
      }
docs: Returns the list view of {@link LogRecord}s in the ring buffer.
  
  <p>
  New records are always placed early in the list.