Loading TOC...

xdmp.traceEnabled

xdmp.traceEnabled(
   $name as String
) as Boolean

Summary

Returns whether or not a trace event is enabled.

Parameters
$name The trace event name.

Example

const query = cts.wordQuery('hello');
if (xdmp.traceEnabled("JSearch Query")) {
  console.debug(query)
}

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy