Customization > Automation Interface > Functions > For System Simulations > Reporting Functions > SetLogFile function (automation interface)
SetLogFile function (automation interface)
Syntax:
SetLogFile("<path and file name>")
Where:
<path and file name> is a string that specifies the path and file name of the log file.
This function specifies the log file in which the simulation log is recorded. This function returns a Boolean value to indicate success or failure.
Use the EnableFileLogging function to enable file logging.
Examples
SetLogFile("c:\simulation\smglog.csv")
Was this helpful?