xdmp.requestLogPut( key as String, value as Object ) as null
Stores or updates a (key, value) pair for the current request. The (key,value) pair is combined with other monitored meters and logged at the end of a request. When this function is called multiple times for the same key only the value from the last call is retained.
Parameters | |
---|---|
key | A key. If the key is not unique, the existing value under the key will be replaced with the new value. |
value | A value to log. |
xdmp.requestLogPut("someKey2", {foo:"value1", bar:"value2"})
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.