
xdmp:trace( $name as xs:string, $value as item()* ) as empty-sequence()
Signal a trace event. If trace events are activated and the event is enabled, the trace event is logged.
| Parameters | |
|---|---|
| name | The trace event name. |
| value | The trace event data. |
xdmp:trace("My Application Event",$my-application-data)
=> ()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.