Open topic with navigation
<viz>.setLogFile
Log all output to a file
<viz>.setLogFile( |
|
filename |
) |
|
filename
Filename to log output to
Remarks
This command will redirect all subsequent output from the Vizard script to the specified filename. If the file already exists, then its contents will be overwritten. Output generated before issuing this command will not be saved to the file.
Return Value
True/False if the log file was successfully created.
Example
viz.setLogFile('output.log')
See also