Write Log Message
Last updated
Last updated
The Write Log Message
block is available in and and operates in similar ways with some minor differences.
In Page Flow this block allows you to write messages into the browser's log, whereas in Cloud Flow it writes a message into the Zingy's cloud logs, which can be accessed from the Cloud Flow tab in the .
The block consists of the following:
The example below shows the Write Log Message block used when the a button is clicked. The message "The button was clicked" is written to the log.
This would produce a message similar to the one below:
Message: a that accepts a value for the message you want to log.
Category: a that accepts a value that specifies the category of the message. This is useful for filtering out messages when conducting a post-mortem or .
Level: a that accepts a value specifying the severity level of the message. This is only supported in Cloud Flow and is useful for further filtering out messages when conducting a post-mortem or .
For the Category , we use the block with the INFO category selected.
Note: You can provide your own categories and do not have to use the block.