Logging For SharePoint Developers

Applies to: SharePoint Foundation 2010

This section of the Microsoft SharePoint 2010 Software Development Kit (SDK) discusses the types of logging and tracing mechanisms (or activities) that are provided in Microsoft SharePoint Foundation to help with application development and debugging, as well as to create better communications for system administrators when problem events occur or a threshold is reached. These topics cover basic system event and trace logs that are developer-oriented, and provide in-depth information about how you can program your applications to write custom operations messages to the Unified Logging Service (ULS) trace log, how you can use Windows PowerShell cmdlets with ULS logging, as well as how to use the Developer Dashboard to get additional performance and tracing information for debugging and troubleshooting issues.

In This Section

Overview of Unified Logging System (ULS) Logging

Writing to the Trace Log from Custom Code

Using the Developer Dashboard

Using Windows Powershell Cmdlets with ULS Logging