Skip to main content

Logging within a Flow

When creating a node in JavaScript, the standard JavaScript console log, warn, and error functions have been exposed. This provides the ability to debug nodes while they are being created and if you want to send anything specific during the running of the node in production.

The console.log() function will deliver a debug level log entry to the log panel on the visual editor as well as being published to a log topic for the specific flow.

The console.warn() function will deliver a warning level log entry to the log panel and to the log topic for the specific flow.

The console.error() function will deliver an error level log entry to the log panel and the log topic for the flow.