一.首先下载log4net.dll http://pan.baidu.com/s/1gdigrwJ 二.添加log4net引用 三.代码: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using log4net; using System.Reflection;
Overview This document presents example configurations for the built-in appenders. These configurations are designed to work with the log4net.Config.DOMConfigurator and the log4net.Repository.Hierarchy.Hierarchy. These examples are by no means exhaus
<?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <!-- In a config file where there will (potentially) be more information stored beyond just the log4net configuration information, you will n