Development How-to Topics
This topic describes how to use the SharePoint Guidance Library logging and tracing component. It includes the following procedures:
- How to: Log an Event for Operations. This topic describes how to log messages that are meant for system administrators.
- How to: Log an Exception to Operations. This topic describes how to log unhandled exceptions.
- How to: Create a Trace Message During Development. This topic describes how to write debugging information to the Unified Logging Service (ULS) trace log.
- How to: Customize the Logger for Unit Testing. This topic describes how to create a mock logger for unit testing.
- How to: Customize the Logger in an Application. This topic describes how to use a custom logger.
- How to: Select a Custom Event Source Name. This topic describes how to use an event source other than the default.
For more information about the SharePoint Guidance Library, see The SharePoint Guidance Library.