Log

log flow is used to push text output into the console. log is used for debugging purposes and doesn't enhance the output of blueprints in any way.

Syntax

The basic syntax of log flow is as follows:

{[ log [message] ]}

You can use log to log the content of any defined variable:

{[ log myVariable /]} // 5
{[ log anotherVariable /]} // 10

log can also be used to simply print text such as debug message:

{[ log "Exporting .." /]} // Exporting ..

log works well with mostly all data types and always tries to output valuable information. For example, it will show JSON representation for objects and arrays if possible, properly format numbers, convert boolean into text, and so on.

Last updated