How to log trace info in Sharepoint?

Here is the statement:
SPDiagnosticsService.Local.WriteTrace(0, new SPDiagnosticsCategory("You trace category", TraceSeverity.Verbose, EventSeverity.Information), TraceSeverity.Verbose, "You trace Info", null);

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment