public void Init(HttpApplication application)
 {
     application.BeginRequest += OnBeginRequest;
     UrlRewriterLogging logger = new UrlRewriterLogging();
     application.EndRequest += logger.OnEndRequest;
     application.PreRequestHandlerExecute += logger.OnPreRequestHandlerExecute;
     //application.Error += OnError;
 }
        public void Init(HttpApplication application)
        {
            application.BeginRequest += OnBeginRequest;
            UrlRewriterLogging logger = new UrlRewriterLogging();

            application.EndRequest += logger.OnEndRequest;
            application.PreRequestHandlerExecute += logger.OnPreRequestHandlerExecute;
            //application.Error += OnError;
        }