D
D
Developers
Search…
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:
1
{[ log [message] ]}
Copied!
You can use log to log the content of any defined variable:
1
{[ log myVariable /]} // 5
2
{[ log anotherVariable /]} // 10
Copied!
log can also be used to simply print text such as debug message:
1
{[ log "Exporting .." /]} // Exporting ..
Copied!
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 modified 7mo ago
Copy link
Contents
Syntax