Trace
Traces messages into the tracing facilites so they can be display by the running runtime either in console, or debug output or whatever the runtime is configured to do.
Component Signature
<bx:Trace abort=[boolean]
category=[String]
text=[string]
type=[string]
extrainfo=[any] />Attributes
abort
boolean
false
If true, the current request will be aborted after the trace call. Default is false.
false
category
String
false
The category of the trace message. Default is an empty string.
text
string
true
The text of the trace message. Required.
type
string
true
The type of the trace message. Default is "Information".
Information
extrainfo
any
false
Any extra information to be logged with the trace message. This can be simple or a complex object. We will convert it to string for logging.
Examples
Add a trace message
Records debugging information visible in the runtime's trace output.
Trace with a category
Trace with extra info
Trace and abort the request
Trace different severity levels
Last updated
Was this helpful?
