Created
January 9, 2014 08:41
-
-
Save hadoan/8331204 to your computer and use it in GitHub Desktop.
Log to ULS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SPDiagnosticsService.Local.WriteTrace(0, new SPDiagnosticsCategory("My Category", TraceSeverity.Unexpected, EventSeverity.Error), TraceSeverity.Unexpected, ex.Message, ex.StackTrace); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment