string pageName = "页面名" + System.IO.Path.GetFileName(HttpContext.Current.Request.Path);
string fileName = "";
fileName += "命名空间:" + System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.Namespace + ";";
fileName += "类:" + System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName ;
string method = "方法名"+System.Reflection.MethodBase.GetCurrentMethod().Name;