XQuery module providing functions to log values to a local or remote console.
console:dump($channel as xs:string, $vars as xs:string+) as empty-sequence()
Dump the local variable stack to the console, including all variables which are visible at the point the statement appears in the code. Only the variables matching one of the names given in parameter $vars are dumped. All others are ignored. Use with care: might produce lots of output.
$channel | The channel to print to. |
$vars+ | The names of the variables to dump. |
console:dump($channel as xs:string) as empty-sequence()
Dump the local variable stack to the console, including all variables which are visible at the point the statement appears in the code. Use with care: might produce lots of output.
$channel | The channel to print to. |
console:dump() as empty-sequence()
Dump the local variable stack to the console, including all variables which are visible at the point the statement appears in the code. Use with care: might produce lots of output.
console:jmx-token() as xs:string?
Retrieves the authentication token required for access to the JMX servlet.
console:log($items as item()*) as empty-sequence()
Logs a message to the logger using the template given in the first parameter and the 'default' channel.
$items* | Values to be printed. Will be concatenated into a single string. |
console:log($channel as xs:string, $items as item()*) as empty-sequence()
Logs a message to the logger using the template given in the first parameter.
$channel | The channel to print to. |
$items* | Values to be printed. Will be concatenated into a single string. |
console:send($channel as xs:string, $items as item()?) as empty-sequence()
Send a json message to the console
$channel | The channel to print to. |
$items? | Value to be sent. Will be transformed into JSON. |