As a developer it is not uncommon that at some point in time your code is going to crash out and you will be hit with the classic .Net error page. It is important that we as developers can log the error message so we can fix the issue(s) we have.