vinform程序配置log4net日志输出
1、添加log4net dll 2、在文件AssemblyInfo.cs加入一句代码,AssemblyInfo.cs的路径所在Properties目录下添加代码如下:// 日志组件配置 [assembly: log4net.Config.DOMConfigurator(ConfigFile = "log4net.config", Watch = true)] 3、//代码中调用<P></P>//private static read...