GetProcessErrorFileName returns the name of the error log file associated with the process. If the process has not yet generated an error log file, the function returns an empty (null) string.
In this video, GetProcessErrorFileName is used to get the error log file name.
TurboIntegrator
Version 11 and 12
GetProcessErrorFileName;