Closes the trace file.
TraceClose ( )
ErrorReturn. Returns one of the following values:
Success! – The function succeeded
FileNotOpenError! – TraceOpen has not been called yet
FileCloseError! – The log file is full
TraceClose closes the trace file. If you have not already called TraceEnd, TraceClose will call that function before proceeding with its processing.
You typically include the TraceClose function in your application’s Close script.
This example stops logging of application trace activities and then closes the open trace file:
TraceEnd()
TraceClose()