Docs
Sign in

Console

Console writes formatted output with a prefix label and a colour, which makes your own messages easy to spot.

Screenshot to add: The Console settings panel with Prefix label, Format template and Color.

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

FieldWhat it doesNotes
Prefix labelText added at the start of each log lineDefault [LOG]. Placeholder [DEBUG]
Format templateThe text to printA Jinja2 template
ColorThe colour of the outputDefault (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.