Jungo WinDriver  
Official Documentation

◆ WD_LogStart()

DWORD DLLCALLCONV WD_LogStart ( const char *  sFileName,
const char *  sMode 
)

Opens a log file.

Parameters
[in]sFileNameName of log file to be opened
[in]sModeType of access permitted. For example, NULL or w opens an empty file for writing, and if the given file exists, its contents are destroyed; a opens a file for writing at the end of the file (i.e., append).
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise
Remarks
Once a log file is opened, all API calls are logged in this file. You may add your own printouts to the log file by calling WD_LogAdd()