Skip to main content
Version: v2023.18.0

Notifications

Change notifications

  • Objet: getARenderJS()

    functionDescriptionArguments
    registerNotifyLogEvent(hook)Trigger a hook function when a notification is displayedhook: The hook function to call

The following functions allow to alter the received notification event caught by the hook function.

  • Object: getARenderJS()

    FunctionDescriptionArgument
    setLogEventMessage(event, message)Change the notification message by "message"
    setLogEventDisplay(event, boolean)Allow the notification display
    setLogEventLevel(event, level)Change the notification level
getARenderJS().registerNotifyLogEvent(function (event, level, message) {
getARenderJS().setLogEventMessage(event, "Error: " + message);
getARenderJS().setLogEventLevel(event, "SEVERE");
getARenderJS().setLogEventDisplay(event, true);
});