Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 517.4k

Error    CS0103    The name '_Logger' does not exist in the current co

Jul 2 2021 7:08 AM

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


Answers (3)