Visual Basic
C#
Managed Extensions for C++
C++/CLI
Property Value
A string value which represents the full path and name of the debug log file.This property allows you to control the location of the debug log file.
Valid value: Any valid filename.
Default value: "Temp\TwainPro8.log"
Note: This property will have no effect if you set the Debug property to false.
...
// Set the DebugLogFile path and name
tp.DebugLogFile = "c:\logFile.txt";
...