docs: @Restricted(NoExternalUse.class)
      public static void closeAndLogFailures(@CheckForNull Closeable toClose, @Nonnull Logger logger, 
              @Nonnull String closeableName, @Nonnull String closeableOwner) {
          if (toClose == null) {
              return;
          }
          try {
              toClose.close();
          } catch(IOException ex) {
              LogRecord record = new LogRecord(Level.WARNING, "Failed to close {0} of {1}");
              record.setParameters(new Object[] { closeableName, closeableOwner });
              record.setThrown(ex);
              logger.log(record);
          }
      }