docs

Home All functions Legacy functions Categories

vuDiagnosticsSetFile()

Purpose

Sets the diagnostic log file path used by vuDiagnosticsEnable().

Export name

Clarion prototype

Prototype: vuDiagnosticsSetFile(*CSTRING xFileName), SIGNED, PROC, PASCAL, RAW, NAME(‘vuDiagnosticsSetFile’)

Return value

Example (Clarion)

rc      LONG
diagLog CSTRING(260)

diagLog = 'C:\MyApp\Logs\vumailkit-diagnostics.log'
rc = vuDiagnosticsSetFile(diagLog)

IF rc = 1
  vuDiagnosticsEnable()
END

Notes

Home All functions Legacy functions Categories