摘要:
添加log4net.dll的引用在项目的Properties/AssemblyInfo.cs中添加:[assembly: log4net.Config.XmlConfigurator()]在入口Assembly中至少调用一次LoggerManager.GetLogger()App.config例子 Code Code highlighting produced by Actip... 阅读全文
posted @ 2008-06-08 00:06 mrfangzheng 阅读(421) 评论(1) 推荐(0) 编辑