摘要: Ⅰ.在ASP.NET页面开发过程中记录日志的一般流程如下:PS:这是按日期划分日志文本文件,若需要了解怎么写入SQLite数据库,可了解实现log4.NET记录日志功能【WinForm】一.引用log4net.dll二.打开global.asa.cs文件,添加以下代码:using log4net;protected void Application_Start(Object sender, EventArgs e) { log4net.Config.DOMConfigurator.Configure(); }三.在web.cofig根节点 <configuration> 中加入如下 阅读全文
posted @ 2011-04-22 10:24 罗霄(Sto) 阅读(1900) 评论(1) 推荐(2) 编辑