code: public LogEvent[] getLogEvents() {
          if (mLogEvents == null) {
              return new LogEvent[0];
          }
          else {
              LogEvent[] events = new LogEvent[mLogEvents.size()];
              return (LogEvent[])mLogEvents.toArray(events);
          }
      }
docs: Returns the lines that have been written to the log file. This is used
  by the admin functions.