摘要: 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 阅读全文
posted @ 2013-05-15 14:19 (二少)在南极 阅读(248) 评论(0) 推荐(0) 编辑