Skip to content

Instantly share code, notes, and snippets.

@ScottBurfieldMills
Created December 3, 2018 00:03
Show Gist options
  • Save ScottBurfieldMills/b4e7e8977601e723771e2a8b9b4471f1 to your computer and use it in GitHub Desktop.
Save ScottBurfieldMills/b4e7e8977601e723771e2a8b9b4471f1 to your computer and use it in GitHub Desktop.
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