Programmatically logging to the Sharepoint ULS

后端 未结 5 1652
一整个雨季
一整个雨季 2020-12-30 14:08

I\'d like to log stuff in my Sharepoint Web Parts, but I want it to go into the ULS. Most examples that I\'ve found log into the Event Log or some other file, but I did not

5条回答
  •  时光说笑
    2020-12-30 15:10

    Here you find another great article about logging with SharePoint: http://www.parago.de/2011/01/how-to-implement-a-custom-sharepoint-2010-logging-service-for-uls-and-windows-event-log/

提交回复
热议问题