Loading TOC...

MarkLogic Server 11.0 Product Documentation
admin.groupTraceEvent

admin.groupTraceEvent(
   event-id as String
) as element(gr.event)

Summary

This function constructs an event element for the specified event name.

Parameters
event-id The exact name of the trace event.

Example

  
  const admin = require('/MarkLogic/admin.xqy');
  admin.groupTraceEvent("CPF onStateEnter")

   //returns the event element for the CPF on state enter trace event 
  

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