The notification center is one of the preferred places to present the user with errors, warnings or any other useful information.
Please restrain yourself from using modal dialogs when trying to let a user know that something went wrong.
Warnings and Errors
To show a new error or warning notification it's as easy as using CryWarning to log out what went wrong. You can also embed commands in the form of links in these messages, these commands will be executed if the user clicks the added Go to error link at the end of the notification message.
Here's an example on how to embed a command with your message:
This will execute a command to focus and select the object that has misbehaved.
Log Other Useful Info
Due to the amount of spam that is currently displayed as normal log messages, it's not as simple as logging info other than warnings and errors using CryWarning. Instead, you must get a handle to the notification center and log info as follows: