Updated Application_End snippet to use AsyncLogger