日志管理
采用log4net+Common.Logging.Log4Net
1、Nuget:Common.Logging.Log4Net208 自动下载完四个包
2、配置config
Common:
"common"> "logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
Log4net:log4net.config
"log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
log4初始化:log4net.Config.XmlConfigurator.Configure();
3、扩展