Whatever message this page gives is out now! Go check it out!
<cftrace category="UDF End" inline = "True" var = "MyStatus"
text = "GetRecords UDF call has completed">
The following table lists the displayed information:Entry | Meaning |
Trace type (severity) specified in the cftrace call; in this case, Information. | |
[CFTRACE 13:21:11.011] | Time when the cftrace tag executed. |
Time taken for processing the current request to the point of the cftrace tag. | |
[C:\CFusion\wwwroot\MYStuff\mydocs\tractest.cfm] | Path in the web server of the page that contains the cftrace tag. |
@ line:14 | The line number of the cftrace tag. |
[UDF End] | Value of the cftrace tag category attribute. |
GetRecords UDF call has completed | The cftrace tag text attribute with any variables replaced with their values. |
MyStatus Success | Name and value of the variable specified by the cftrace tag var attribute. |
"Information","web-29","04/01/02","13:21:11","MyApp","[501 ms (1st trace)] [C:\ColdFusion9\wwwroot\MYStuff\mydocs\tractest.cfm @ line: 14] - [UDF End] [MyStatus = Success] GetRecords UDF call has completed "Entry | Meaning |
Information | The Severity specified in the cftrace call. |
web-29 | Server thread that executed the code. |
04/01/02 | Date the trace was logged. |
13:21:11 | Time the trace was logged. |
MyApp | The application name, as specified in a cfapplication tag. |
501 ms (1st trace)] | The time ColdFusion took to process the current request up to the cftrace tag, This is the first cftrace tag processed in this request. If there had been a previous cftrace tag, the parentheses would contain the number of milliseconds between when the previous cftrace tag ran and when this tag ran. |
[C:\CFusion\wwwroot\MYStuff\mydocs\tracetest.cfm @ line: 14] | Path of the page on which the trace tag is located and the line number of the cftrace tag on the page. |
[UDF End] | Value of the cftrace tag category attribute. |
[MyStatus = Success] | Name and value of the variable specified by the cftrace tag var attribute. If the variable is a complex data type, such as an array or structure, the log contains the variable value and the number of entries at the top level of the variable, such as the number of top-level structure keys. |
GetRecords UDF call has completed | The cftrace tag text attribute with any variables replaced with their values. |
Attribute | Purpose |
abort | A Boolean value. If you specify True, ColdFusion stops processing the current request immediately after the tag. This attribute is the equivalent of placing a cfabort tag immediately after the cftrace tag. The default is False. If this attribute is True, the output of the cftrace call appears only in the cftrace.log file. The line in the file includes the text "ABORTED". |
category | A text string specifying a user-defined trace type category. This attribute lets you identify or process multiple trace lines by categories. For example, you could sort entries in a log according to the category.The category attribute is designed to identify the general purpose of the trace point. For example, you might identify the point where a custom tag returns processing to the calling page with a "Custom Tag End" category. You can also use finer categories; for example, by identifying the specific custom tag name in the category.You can include simple ColdFusion variables, but not arrays, structures, or objects, in the category text by enclosing the variable name in number signs (#). |
inline | A Boolean value. If you specify True, ColdFusion displays trace output in-line in the page. The default is False.The inline attribute lets you display the trace results at the place that the cftrace call is processed. This provides a visual cue directly in the ColdFusion page display.Trace output also appears in a section in the debugging information display. |
text | A text message describing this trace point. You can include simple ColdFusion variables, but not arrays, structures, or objects, in the text output by enclosing the variable name in number signs (#). |
type | A ColdFusion logging severity type. The inline trace display and dockable.cfm output format show a symbol for each type. The default debugging output shows the type name, which is also used in the log file. The type name must be one of the following: -Information (default) -Warning -Error -Fatal Information |
var | The name of a single variable that you want displayed. This attribute can specify a simple variable, such as a string, or a complex variable, such as a structure name. Do not surround the variable name in number signs.Complex variables are displayed in inline output in cfdump format; the debugging display and log file report the number of elements in the complex variable, instead of any values. You can use this attribute to display an internal variable that the page does not normally show, or an intermediate value of a variable before the page processes it further. To display a function return value, place the function inside the message. Do not use the function in the var attribute, because the attribute cannot evaluate functions. |
<cftrace abort="False" category="UDF End" inline = "True" text = "GetRecords UDF
call has completed" var = "MyStatus">