LOGFILEMODE controls the output of the text window to a log file.
File: SysVarDefs.h
Module: API Reference