2011年5月9日

How to Use Log4Net.dll store log into DB

摘要: We can use following approach for storing Log in DB:One of the best ways to store log in the database using log4net coz it is easy to use and its world wide popularity. For storing log in the database all task are manage by log4net internally.At first you need to create a table for Storing log in th 阅读全文

posted @ 2011-05-09 22:12 小兵张嘎 阅读(512) 评论(0) 推荐(1) 编辑

Log4net日志记录开源组件的初级使用

摘要: Log4net是基于.net开发的一款非常著名的记录日志开源组件。他最早是2001年7月由NeoWorks Limited启动的项目,基本的框架源于另外的一个非常著名的姐妹组件-log4j。Log4net记录日志的功能非常强大。它可以将日志分不同的等级,比不同的样式,将日志输出到不同的媒介。Log4net可以从http://logging.apache.org/log4net/downloads.html网站下载最新版本,引用log4net.dll组件,从你下载下来的src目录log4net.sln文件生成后便会自动编译log4net.dll文件了.二..这一步我将给大家讲解log4net的用 阅读全文

posted @ 2011-05-09 22:11 小兵张嘎 阅读(433) 评论(0) 推荐(1) 编辑

导航