docs: private void publishTextRecord(final LogRecord record) {
      try {
        logpane.publish(record);
      }
      catch(Exception e) {
        throw new RuntimeException("Error writing a log-like message.", e);
      }
    }