<viz>.setLogFile

Log all output to a file

 

<viz>.setLogFile(
    filename    

)

 

filename

Filename to log output to


Remarks

This command will redirect all output from the Vizard script to the specified filename. If the file already exists, then its contents will be overwritten.

Return Value

True/False if the log file was successfully created.

Example

viz.setLogFile('output.log')

See also

<viz>.log
<viz>.logAlways
<viz>.logDebug
<viz>.logError
<viz>.logInfo
<viz>.logNotice
<viz>.logWarn
<viz>.setLogLevel