Error Logs into SharePoint.
This is method to track SharePoint related logs.
SPDiagnosticsService.Local.WriteTrace(0, new SPDiagnosticsCategory("", TraceSeverity.Unexpected, EventSeverity.Error), TraceSeverity.Unexpected, ex.Message + " Stack Trace: " + ex.StackTrace, "");
No comments:
Post a Comment