flow
(required): The input flow that triggers the node to execute.text
(optional): A custom message to include in the log output. Defaults to an empty string.severity
(optional): The severity level of the log message. Can be “info”, “warning”, or “error”. Defaults to “info”.payload
(required): The array of data to log to the console.flow
: The output flow after the array has been logged.flow
input port. This determines when the node will execute.text
input to add context to the log output.severity
input to “info”, “warning”, or “error” to indicate the importance of the log message.payload
input port.flow
output port to the next node in your spell.value
property is greater than 10, and log the filtered array with the message “Filtered data”.
By strategically placing Log Array nodes, we can inspect the data at different stages of processing and ensure the spell is working as expected.
text
input to make it easier to understand the purpose of each log statement.severity
input to “warning” or “error” for logs that indicate potential problems.payload
input will result in an empty array being logged.