Register an error in SQL Log

sp_addmessage @msgnum = 50006, @severity = 16, @msgtext = N'There are missing Backups', @replace = 'replace' GO