1、在Web.Config配置
2、在Global.asax中
而后通过创建ILog对象就可以使用了,注意日志文件的访问权限。
posted on 2009-10-23 22:14 Hero King 阅读(235) 评论(0) 编辑 收藏 举报