Ramco Ramco

Ramco Ramco

  • 457
  • 2.8k
  • 401.2k

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)