摘要: 第一 添加 log4net.dll 引用第二 复制一份 log4net.config到网站根目录下面第三 C/S应用程序:(应用程序主入口 main 方法里面,一定要在程序加载之前) string strDataDir = AppDomain.CurrentDomain.BaseDirectory.ToLower(); if(strDataDir.EndsWith(@"\bin\debug\") || strDataDir.EndsWith(@"\bin\release")){ strDataDir = System.IO.Directory.GetPa 阅读全文
posted @ 2010-11-28 01:37 Own_nothing 阅读(848) 评论(0) 推荐(2) 编辑
广州科讯信息科技有限公司