Log a Message

Overview

Contains a function that can be used to log a custom message that can be used by a designer/developer, to debug code for quicker development, and to log warnings, errors and informational messages.

Syntax: logmessage (level, message)

  • Level (Text) - The log level to be used from the following choices:
    • INFO
    • DEBUG
    • WARN
    • ERROR (Default)
  • Message (Text) - The custom message to be displayed

The function can be used to log a custom message.  The function can be used in Appian where expression rules can be specified e.g. SAIL, node inputs and outputs.

Anonymous
Parents
  • What do "info", "debug" and "warn" do?  When I just tested this (21.1), the only setting that actually gives me a log message is the "ERROR" log level.

    "WARN" seems to have given an actual error message - "1 services were missing users."

    "INFO" and "DEBUG" seem to do nothing.

Comment
  • What do "info", "debug" and "warn" do?  When I just tested this (21.1), the only setting that actually gives me a log message is the "ERROR" log level.

    "WARN" seems to have given an actual error message - "1 services were missing users."

    "INFO" and "DEBUG" seem to do nothing.

Children