code: public void deleteLog(String name) {
      StorageCleaner cleaner = new StorageCleaner(this);
      cleaner.cleanFiles(f -> SegmentFile.isSegmentFile(name, f));
    }
docs: Deletes a {@link Log} from disk.
  <p>
  The log will be deleted by simply reading {@code log} file names from disk and deleting log files directly.
  Deleting log files does not involve rebuilding indexes or reading any logs into memory.
  
  @param name The log name.