事件日志 方法一: 方法二:系统事件日志 方法三:使用log4net工具 转载 请注明原文地址并标明转载:http://www.cnblogs.com/laopo 商业用途请与我联系:lcfhn168@163.com