The message to be displayed to the user.
Optional
level: EventLogLevelThe log level of the message (optional).
Optional
data: JSONObjectAdditional data to be included with the message (optional).
A promise that resolves when the notification is created.
Notifies the user with a message at a specified log level and optional data.