Log to console

The Log to console action node prints a custom message to the Logs panel of the Developer tools.

Usage

This action node is often used for debugging purposes in order to print a value from a data source or function.

If you want to log the contents of an object or data source to the console, you should use the function editor to turn it into a string. For example, return JSON.stringify(variableName);

Example

A Log to console example is available in our Showroom. You can view the demo, as well as access the setup in Appfarm Create. Don't have access? Register.

Properties

Property
Description

Text

The message to print to the console. A message can be formed from:

  • a static text string

  • a property value from a data binding

  • the result of a conditional expression

  • the return value of a function

  • other values such as the current date and time

Last updated