Console
Console writes formatted output with a prefix label and a colour, which makes your own messages easy to spot.
Screenshot placeholder
When to use it
Use it when you want debug lines that stand out from the rest of the output. In the Builder palette this node is named Console.
Settings
| Field | What it does | Notes |
|---|---|---|
| Prefix label | Text added at the start of each log line | Default [LOG]. Placeholder [DEBUG] |
| Format template | The text to print | A Jinja2 template |
| Color | The colour of the output | Default (gray), Green, Yellow, Red, Blue or Cyan |
Inputs and outputs
- One input at the top and one output at the bottom.
- The code shown does not describe the exact output data.
Example
Illustrative. Prefix label [PRICE], Color Green, Format template Total is {{ output.total }}.
Tips
- Use a different prefix for each area of the workflow so you can search for it.
- Use Red for problems and Green for good news, as people expect.
- For levels and other destinations, use Log.