Log的使用

step1:添加log4net的引用app step2:添加配置文件log4netConfig.xmlui step3:启用日志spa private ILog Logger = null; string logconfigpath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "log4netConfig.xml");
相关文章
相关标签/搜索