Changed the syntax of Write, WriteHeader, WriteFooter and DoWrite.  Changed the LogKeyword.GetText to LogKeyword.Generate.