Tuesday, February 15, 2011
ULS Logging in SharePoint 2010
This feature is mainly advantageous to developers. It has new classes added which helps to log and trace the errors and exceptions very easily.
- Developer Dashboard: This records the time, resources used for a particular web page request and shows on the UI.
- Request usage database: This database contains all the information about requests and resource usage.
- SPMonitoredScope: This is the attribute and if you apply this to a class then you can save the complete details to the SharePoint usage database.
- With new API features it is very easy to implement or communicate with ULS logs by using SPDiagnosticsServiceBase class.