Howto: Write to the ULS

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

As more and more folks start to get into PowerPivot and SharePoint, there is a need to programmatically write entries into the ULS. Since all of PowerPivot and all of SharePoint share this common logging infrastructure, why not also include log entries from your own processes. Here is some sample code for doing that:

First via PowerShell:



Tags: sharepoint, uls


2007-2015 VidasSoft Systems Inc.