摘要:
public static void WriteLog(string msg) { if (string.IsNullOrEmpty(_writelog)) { _writelog = getAppSetting("writelog"); } if (_writelog != "yes") { return; } string p = System.Web.HttpContext.Current.Server.MapPath("logs"); if (!Directory.Exists(p)) Directory.CreateDire 阅读全文