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)
=> ()
Powered by MarkLogic Server | Terms of Use | Privacy Policy