Debugging and Logging in SharePoint 2010 January 5, 2011 by Katharina Schroeder http://msdn.microsoft.com/en-us/library/gg512103.aspx