Skip to main content
Version: Next

Debug Log

Logs a message on the console.

Description

Outputs the provided value on the console, it can be any JavaScript object that has a string representation.

Can be filtered by adding the parameter loglevel.Draw in the environment (either from configuration file or from the url). e.g: Adding ?loglevel.draw=warn in the url (don’t forget to change ‘?' to '&’ if you already have a param in the URL) will display only the warn & error messages but will skip the trace, debug, info & log messages.

The default displayed value is info

Inputs

  • value (Object): The value to display.
  • prefix (String): A label to put in front of the message.
  • log level (LogLevel): The level displayed in the console. Can be filtered by adding the parameter loglevel.Draw in the environment

Outputs

  • value (Object): The object that was passed in.