3
Answers

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

Ramco Ramco

Ramco Ramco

3y
792
1

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)