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("This is a test");
#
Alert.infoTrigger an info alert.
#
Alert.warnTrigger a warning alert.
Alert.warn("This is a warning");
#
Alert.errorTrigger an error alert.
Alert.error("Something went wrong");