$proc_tracing_addition
Return the current value of $proc_tracing_addition, or add a prefix, which can contain a string or expression, to each line of ProcScript tracing information.
Return =
$proc_tracing_addition
$proc_tracing_addition
=
AdditionalInfo
Example: $proc_tracing_addition = "Status:%% $status"
Parameters
Parameter | Data Type | Description |
---|---|---|
AdditionalInfo | String | Any string or expression used to prefix lines of ProcScript tracing information |
Return Values
$proc_tracing_addition returns the current value of the additional information previously assigned using $proc_tracing_addition.
Use
Allowed in Form, Report, and Service components, but not in self-contained components.
Description
You can add a prefix to ProcScript tracing information for the whole application using the $PROC_TRACING_ADDITION assignment setting, or selectively in ProcScript using the $proc_tracing_addition function. The ProcScript function overrides the assignment setting.
For more information, see ProcScript Profiling and Tracing.
Using $proc_tracing_addition
$proc_tracing = 1 $proc_tracing_addition = "Status:%% $status"
Note: The space between Status:%%
and
$status
is necessary to keep the ProcScript engine from evaluating
$status.
Note: The information in the log file may be truncated, depending on the length of the additional information.