Hi
I have below code in Application Start and getting error - Error CS0103 The name '_Logger' does not exist in the current context
protected void Application_Error()
{
var ex = Server.GetLastError();
//log the error!
_Logger.Error(ex);
}
Thanks

Sachin SinghRank #66 · 26.2K reputationPosted Jul 2, 2021, 3:13 AM EDT
Ramco RamcoRank #462 · 5.4K reputationPosted Jul 2, 2021, 4:18 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jul 2, 2021, 4:30 AM EDT