writeLog                Write the printed output of each element of a
                        named list to a .txt file in logDir, one after
                        another, each preceded by its list name as a
                        heading.
