Log4net 根据日志类别保存到不同的文件,并按照日期生成不同文件名称
摘要:配置文件: 1 <configuration> 2 <configSections> 3 <!--日志记录--> 4 <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> 5 </configSections> 6 7 <log4net> 8 <root></root> 9 <logger name="Logger
阅读全文
posted @ 2012-06-13 20:39