Name
cx:message — Output a message each time a document is processed.
Synopsis
<p:declare-step type="cx:message" xmlns:cx="http://xmlcalabash.com/ns/extensions">
<p:input port="source" sequence="true"/>
<p:output port="result" sequence="true"/>
<p:option name="log"/> <!-- "error" | "warn" | "info" | "debug" | "trace" -->
<p:option name="message" required="true"/> <!-- string --></p:declare-step>
Description
This step is mostly for debugging. It performs the identity step with the side-effect of writing a message to the console.
If you specify a value for the log
option, the message is written to the log with the specified logging level
instead of to the console.



