TraceClose

Description

Closes the trace file.

Syntax

TraceClose ( )

Return value

ErrorReturn. Returns one of the following values:

  • Success! -- The function succeeded

  • FileNotOpenError! -- TraceOpen has not been called yet

  • FileCloseError! -- The log file is full

Usage

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.

Examples

This example stops logging of application trace activities and then closes the open trace file:

TraceEnd()
TraceClose()

See also

TraceBegin

TraceEnd

TraceOpen