Adds an entry of the type "Error" to the log. The log is shown in the menu item "Application error and log".