Function notify

  • Notifies the user with a message at a specified log level and optional data.

    Parameters

    • message: string

      The message to be displayed to the user.

    • Optionallevel: EventLogLevel

      The log level of the message (optional).

    • Optionaldata: JSONObject

      Additional data to be included with the message (optional).

    Returns Promise<void>

    A promise that resolves when the notification is created.