code: public static void log(PrintWriter out, RecordTypes recordType, Keys key, 
                    String value){
      value = escapeString(value);
      out.println(recordType.name() + DELIMITER + key + "=\"" + value + "\""
                  + DELIMITER + LINE_DELIMITER_CHAR); 
    }
docs: Log a raw record type with keys and values. This is method is generally not used directly.
  @param recordType type of log event
  @param key key
  @param value value