code: public synchronized void writeRecord(String record) {
          long length = record.length() + nlen;
          PrintStream ps = getPrintStream(length, null);
          ps.println(record);
      }
docs: Write a pre-formated record
  
  @param record