You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -77,6 +77,29 @@ Now that the error logging is working as expected, let's replace the code in Uti
77
77
Logger log = LogManager.GetCurrentClassLogger();
78
78
log.Debug(s);
79
79
80
-
Finally, we can delete the method Util.get_log_file_path since it is no longer used.
80
+
We can delete the method Util.get_log_file_path since it is no longer used.
81
81
82
82
[View the commit](https://github.com/dpaquette/BugTracker.NET/commit/dd2ea87538c3c48f6a3a44220a14d51e38124fe6)
83
+
84
+
###Email Notifications
85
+
There is a large block of code in Global.asax.cs that deals with sending out email notifications where unhandled exceptions occur. This logic is easily replaced using the Mail Target in NLog. By adding the following code to the LoggingConfig.Configure() method, we can delete all the custom email logic.
0 commit comments