Created
December 3, 2018 00:03
-
-
Save ScottBurfieldMills/b4e7e8977601e723771e2a8b9b4471f1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
First.LogService.Logger = new First.Logging.ElmahLogger(); // default elmah logger | |
First.LogService.Logger = new First.Logging.ExceptionalLogger(); // new logger | |
//update references to ErrorLog.GetDefault(null) -> First.Services.LogService.WriteLog() | |
// old | |
ErrorLog.GetDefault(null).Log(new Error(new Exception("message")); | |
// new | |
LogService.WriteLog("message") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment