public ActionResult RequestIdTest(string id)
        {
            ViewBag.RequestId         = JavascriptLogging.RequestId();
            ViewBag.PassedInRequestId = id;

            return(View());
        }
Esempio n. 2
0
        private void LoggingHandler(LoggingEventArgs e)
        {
            var currReqId = JavascriptLogging.RequestId();

            e.FinalMessage = String.Format("[{0,-36}] {1}", currReqId, e.FinalMessage);
        }