SimpleLog getLastLog() throws IOException {
    if (logFiles.isEmpty()) {
      return null;
    }
    return new SimpleLog(logFiles.get(logFiles.size() - 1));
  }
SimpleLog getLastLog ( ) throws IOException { if ( logFiles . isEmpty ( ) ) { return null ; } return new SimpleLog ( logFiles . get ( logFiles . size ( ) - 1 ) ) ; }
Gets the last log file in the list of logs.

@return the SimpleLog instance of the last log.