613-518-1166 info@zimdatabases.com

ZIM Development Center (DC) for Zim 7

pFrameworkTrace

< All Topics

pFrameworkTrace

General purpose application tracing.

Syntax

pFrameworkTrace ( inout vlStatus,
                  in vlOperation,
                  in vlText )

Parameters

vlStatus

The returned status from pFrameworkTrace.

vlOperation

A string whose value is either “LOGTEXT” or “EXECUTETEXT”.

vlText

A string whose value is to be added to the trace output or a command to be executed.

Comments

Tracing output can be directed to the stderr document, terminal, or the TraceLog document. See pSystemSettings for more information on how to set the destination for tracing. The “LOGTEXT” option is used to append a string (contained in vlText) to the trace output. The “EXECUTETEXT” option causes the command contained in vlText to be executed. Any output is directed to the trace output document.

The pFrameworkTrace option is an easy way to insert tracing into an application. The pFrameworkTrace command ensures that all trace output is sent to the correct location, no matter what the application has done with commands such as SET OUTPUT or SET TRACEOUTPUT.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents