Last active
October 31, 2015 18:16
-
-
Save dimitrispaxinos/ba50c81dae503f17b905 to your computer and use it in GitHub Desktop.
Serilog: Attach an Exception to your Log Event
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
Log.Logger.Error(new InvalidOperationException("Something went wrong"), | |
"This exception occured in the {ApplicationComponent}", "UI"); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment