Ramco Ramco

Ramco Ramco

  • 440
  • 3.4k
  • 529.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)