docs: public synchronized void close() throws IOException {
          if (logStream != null) {
              logStream.close();
          }
          for (FileOutputStream log : streamsToFlush) {
              log.close();
          }
      }