Skip to content

Alert

Alert interface provides.. alerts mechanism. If the UI is open, they will show as popups. Additionally, alerts will be logged and dispatched as email or text alerts - according to the set up in the Alerts sections of the Settings tab. There are three alert levels supported: info, warn, and error.

Alert.info("hello there!")
Alert.warn("just a warning...")
Alert.error("this is bad")
Alert.info("hello there!");
Alert.warn("just a warning...");
Alert.error("this is bad");

Alert.info

Trigger an info alert.

    Alert.info("This is a test");
    Alert.info("This is a test")

Alert.warn

Trigger a warning alert.

    Alert.warn("This is a warning");
    Alert.warn("This is a warning")

Alert.error

Trigger an error alert.

    Alert.error("This is bad");
    Alert.error("This is bad")