摘要:
publicclassLogManager{privatestaticstringlogPath=string.Empty;///<summary>///保存日志的文件夹///</summary>publicstaticstringLogPath{get{if(logPath==string.Empty){if(System.Web.HttpContext.Current==null)//WindowsForms应用logPath=AppDomain.CurrentDomain.BaseDirectory;else//Web应用logPath=AppDomain.Cur 阅读全文