Equinox Online Help - Language Reference - A to Z

Home

ProfileLog

Applies to
SyntaxProfileLog [Flags]
Action[Statement] Outputs profile reports to the log file and clears the trace history
ScopeUsable anywhere
Notes

By default, the log contains an event summary, however other reports may be added via the optional Flags parameter.

Flags may contain a combination of the following values:

  • +4 Include full trace history
  • +8 Include details for all events (otherwise only include details where requested via ProfileEvent)
  • +16 Add client-server requests to the trace history

A log is produced when Equinox terminates if the profiler is enabled and there is anything in the trace history.

The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero.

CategoryProfiling
See Also ProfileEvent, ProfileEventStart, ProfileEventStop, ProfileMessage, ProfilePause, ProfileResume, ProfileReset, ProfileStatus
Example

This example produces a log with a full trace including client-server request details plus an overall summary.

ProfileLog 20