开发者

SharePoint writing to log file

Should this be as easy 开发者_运维百科as Trace.WriteInformation() in a C# file that is in a class library in the GAC?


Related to your question:

SharePoint's Unified Logging Service (ULS) log files are not that easy to read. There is a browser-based viewer available over at the CodePlex Features project. This adds a new link to the Central Administration Operations page that lets you pick & filter the log files.


use:

   Microsoft.Office.Server.Diagnostics.PortalLog.LogString("*** bmw 1 ***");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜