MarkLogic 12 EA 1 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 
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy