Loading TOC...

MarkLogic 9 Product Documentation
xdmp:trace

xdmp:trace(
   $name as xs:string,
   $value as item()*
) as empty-sequence()

Summary

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.

Example

xdmp:trace("My Application Event",$my-application-data)
=> ()

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.