在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → Apache log4net日志项目实例源码

Apache log4net日志项目实例源码

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:1.70M
  • 下载次数:0
  • 浏览次数:6
  • 发布时间:2024-04-16
  • 实例类别:一般编程问题
  • 发 布 人:chenxiaolan
  • 文件格式:.zip
  • 所需积分:2
 相关标签: log4net Apache NET PAC Log

实例介绍

【实例简介】

Apache log4net是一个为.NET平台设计的日志记录工具,它通过提供简单的API让开发者能够在应用程序中方便地进行日志记录。log4net支持多种日志存储方式,并且可以很容易地集成到各种类型的.NET应用程序中。
// 示例代码:初始化log4net
log4net.Config.XmlConfigurator.Configure();
ILog log = log4net.LogManager.GetLogger(typeof(Program));
log.Info("程序启动");

【实例截图】
【核心代码】
文件清单
└── logging-log4net-d6e81b35c781a8125a1253f91c214801cdb9fcaa
    ├── appveyer.yml
    ├── build.cmd
    ├── build-with-docker-for-windows.bat
    ├── doc
    │   ├── BUILDING.md
    │   ├── CONTRIBUTING.md
    │   ├── ReleaseInstructions-legacy.txt
    │   ├── RELEASING.md
    │   └── sign-log4net-libraries.sh
    ├── examples
    │   ├── mono
    │   │   ├── 1.0
    │   │   │   ├── nant.build
    │   │   │   ├── nant.config
    │   │   │   ├── Performance
    │   │   │   │   ├── nant.build
    │   │   │   │   ├── nant.config
    │   │   │   │   └── NotLogging
    │   │   │   │       ├── cs
    │   │   │   │       │   ├── nant.build
    │   │   │   │       │   ├── nant.config
    │   │   │   │       │   └── src
    │   │   │   │       │       ├── AssemblyInfo.cs
    │   │   │   │       │       └── NotLogging.cs
    │   │   │   │       ├── nant.build
    │   │   │   │       └── nant.config
    │   │   │   ├── Repository
    │   │   │   │   ├── nant.build
    │   │   │   │   ├── nant.config
    │   │   │   │   ├── SharedModule
    │   │   │   │   │   ├── cs
    │   │   │   │   │   │   ├── nant.build
    │   │   │   │   │   │   ├── nant.config
    │   │   │   │   │   │   └── src
    │   │   │   │   │   │       ├── AssemblyInfo.cs
    │   │   │   │   │   │       └── Math.cs
    │   │   │   │   │   ├── nant.build
    │   │   │   │   │   └── nant.config
    │   │   │   │   ├── SimpleApp
    │   │   │   │   │   ├── cs
    │   │   │   │   │   │   ├── nant.build
    │   │   │   │   │   │   ├── nant.config
    │   │   │   │   │   │   └── src
    │   │   │   │   │   │       ├── App.config
    │   │   │   │   │   │       ├── AssemblyInfo.cs
    │   │   │   │   │   │       ├── EntryPoint.cs
    │   │   │   │   │   │       └── SimpleApp.exe.log4net
    │   │   │   │   │   ├── nant.build
    │   │   │   │   │   └── nant.config
    │   │   │   │   └── SimpleModule
    │   │   │   │       ├── cs
    │   │   │   │       │   ├── nant.build
    │   │   │   │       │   ├── nant.config
    │   │   │   │       │   └── src
    │   │   │   │       │       ├── AssemblyInfo.cs
    │   │   │   │       │       ├── Math.cs
    │   │   │   │       │       └── SimpleModule.dll.log4net
    │   │   │   │       ├── nant.build
    │   │   │   │       └── nant.config
    │   │   │   └── Tutorials
    │   │   │       ├── ConsoleApp
    │   │   │       │   ├── cs
    │   │   │       │   │   ├── nant.build
    │   │   │       │   │   ├── nant.config
    │   │   │       │   │   └── src
    │   │   │       │   │       ├── App.config
    │   │   │       │   │       ├── AssemblyInfo.cs
    │   │   │       │   │       └── LoggingExample.cs
    │   │   │       │   ├── nant.build
    │   │   │       │   └── nant.config
    │   │   │       ├── nant.build
    │   │   │       └── nant.config
    │   │   ├── nant.build
    │   │   └── nant.config
    │   ├── nant.build
    │   ├── nant.config
    │   ├── net
    │   │   ├── 1.1
    │   │   │   ├── cpp-examples.sln
    │   │   │   ├── nant.build
    │   │   │   ├── nant.config
    │   │   │   ├── Repository
    │   │   │   │   ├── nant.build
    │   │   │   │   ├── nant.config
    │   │   │   │   ├── SharedModule
    │   │   │   │   │   ├── js
    │   │   │   │   │   │   ├── nant.build
    │   │   │   │   │   │   ├── nant.config
    │   │   │   │   │   │   └── src
    │   │   │   │   │   │       ├── AssemblyInfo.js
    │   │   │   │   │   │       └── Math.js
    │   │   │   │   │   ├── nant.build
    │   │   │   │   │   └── nant.config
    │   │   │   │   ├── SimpleApp
    │   │   │   │   │   ├── js
    │   │   │   │   │   │   ├── nant.build
    │   │   │   │   │   │   ├── nant.config
    │   │   │   │   │   │   └── src
    │   │   │   │   │   │       ├── App.config
    │   │   │   │   │   │       ├── AssemblyInfo.js
    │   │   │   │   │   │       ├── EntryPoint.js
    │   │   │   │   │   │       └── SimpleApp.exe.log4net
    │   │   │   │   │   ├── nant.build
    │   │   │   │   │   └── nant.config
    │   │   │   │   └── SimpleModule
    │   │   │   │       ├── js
    │   │   │   │       │   ├── nant.build
    │   │   │   │       │   ├── nant.config
    │   │   │   │       │   └── src
    │   │   │   │       │       ├── AssemblyInfo.js
    │   │   │   │       │       ├── Math.js
    │   │   │   │       │       └── SimpleModule.dll.log4net
    │   │   │   │       ├── nant.build
    │   │   │   │       └── nant.config
    │   │   │   └── Tutorials
    │   │   │       ├── ConsoleApp
    │   │   │       │   ├── cpp
    │   │   │       │   │   ├── nant.build
    │   │   │       │   │   ├── nant.config
    │   │   │       │   │   └── src
    │   │   │       │   │       ├── App.config
    │   │   │       │   │       ├── AssemblyInfo.cpp
    │   │   │       │   │       ├── ConsoleApp.cpp
    │   │   │       │   │       └── ConsoleApp.vcproj
    │   │   │       │   ├── js
    │   │   │       │   │   ├── nant.build
    │   │   │       │   │   ├── nant.config
    │   │   │       │   │   └── src
    │   │   │       │   │       ├── App.config
    │   │   │       │   │       ├── AssemblyInfo.js
    │   │   │       │   │       └── LoggingExample.js
    │   │   │       │   ├── nant.build
    │   │   │       │   └── nant.config
    │   │   │       ├── nant.build
    │   │   │       └── nant.config
    │   │   ├── 2.0
    │   │   │   ├── Appenders
    │   │   │   │   ├── nant.build
    │   │   │   │   ├── nant.config
    │   │   │   │   ├── SampleAppendersApp
    │   │   │   │   │   ├── cs
    │   │   │   │   │   │   ├── nant.build
    │   │   │   │   │   │   ├── nant.config
    │   │   │   │   │   │   └── src
    │   │   │   │   │   │       ├── App.config
    │   │   │   │   │   │       ├── Appender
    │   │   │   │   │   │       │   ├── AsyncAppender.cs
    │   │   │   │   │   │       │   ├── FastDbAppender.cs
    │   │   │   │   │   │       │   ├── FireEventAppender.cs
    │   │   │   │   │   │       │   ├── MessageBoxAppender.cs
    │   │   │   │   │   │       │   ├── MessageObjectExpanderAppender.cs
    │   │   │   │   │   │       │   ├── MsmqAppender.cs
    │   │   │   │   │   │       │   ├── PatternFileAppender.cs
    │   │   │   │   │   │       │   ├── PatternLayoutAdoNetAppender.cs
    │   │   │   │   │   │       │   ├── PatternLayoutAdoNetAppenderParameter.cs
    │   │   │   │   │   │       │   └── SimpleSmtpAppender.cs
    │   │   │   │   │   │       ├── AssemblyInfo.cs
    │   │   │   │   │   │       ├── LoggingExample.cs
    │   │   │   │   │   │       └── SampleAppendersApp.csproj
    │   │   │   │   │   ├── nant.build
    │   │   │   │   │   └── nant.config
    │   │   │   │   └── WmiAppender
    │   │   │   │       ├── cs
    │   │   │   │       │   ├── nant.build
    │   │   │   │       │   ├── nant.config
    │   │   │   │       │   └── src
    │   │   │   │       │       ├── AssemblyInfo.cs
    │   │   │   │       │       ├── IWmiBoundEvent.cs
    │   │   │   │       │       ├── WmiAppender.cs
    │   │   │   │       │       ├── WmiAppender.csproj
    │   │   │   │       │       ├── WmiInstaller.cs
    │   │   │   │       │       ├── WmiLayout.cs
    │   │   │   │       │       └── WmiLoggingEvent.cs
    │   │   │   │       ├── nant.build
    │   │   │   │       └── nant.config
    │   │   │   ├── cs-examples.sln
    │   │   │   ├── Extensibility
    │   │   │   │   ├── EventIDLogApp
    │   │   │   │   │   ├── cs
    │   │   │   │   │   │   ├── nant.build
    │   │   │   │   │   │   ├── nant.config
    │   │   │   │   │   │   └── src
    │   │   │   │   │   │       ├── App.config
    │   │   │   │   │   │       ├── AssemblyInfo.cs
    │   │   │   │   │   │       ├── EventIDLogApp.cs
    │   │   │   │   │   │       └── EventIDLogApp.csproj
    │   │   │   │   │   ├── nant.build
    │   │   │   │   │   └── nant.config
    │   │   │   │   ├── nant.build
    │   │   │   │   ├── nant.config
    │   │   │   │   └── TraceLogApp
    │   │   │   │       ├── cs
    │   │   │   │       │   ├── nant.build
    │   │   │   │       │   ├── nant.config
    │   │   │   │       │   └── src
    │   │   │   │       │       ├── AssemblyInfo.cs
    │   │   │   │       │       ├── TraceLogApp.cs
    │   │   │   │       │       ├── TraceLogApp.csproj
    │   │   │   │       │       └── TraceLogApp.exe.log4net
    │   │   │   │       ├── nant.build
    │   │   │   │       └── nant.config
    │   │   │   ├── Layouts
    │   │   │   │   ├── nant.build
    │   │   │   │   ├── nant.config
    │   │   │   │   └── SampleLayoutsApp
    │   │   │   │       ├── cs
    │   │   │   │       │   ├── nant.build
    │   │   │   │       │   ├── nant.config
    │   │   │   │       │   └── src
    │   │   │   │       │       ├── App.config
    │   │   │   │       │       ├── AssemblyInfo.cs
    │   │   │   │       │       ├── Layout
    │   │   │   │       │       │   ├── ForwardingLayout.cs
    │   │   │   │       │       │   ├── LevelConversionPattern.cs
    │   │   │   │       │       │   ├── LevelPatternLayout.cs
    │   │   │   │       │       │   └── LineWrappingLayout.cs
    │   │   │   │       │       ├── LoggingExample.cs
    │   │   │   │       │       └── SampleLayoutsApp.csproj
    │   │   │   │       ├── nant.build
    │   │   │   │       └── nant.config
    │   │   │   ├── nant.build
    │   │   │   ├── nant.config
    │   │   │   ├── Performance
    │   │   │   │   ├── nant.build
    │   │   │   │   ├── nant.config
    │   │   │   │   └── NotLogging
    │   │   │   │       ├── cs
    │   │   │   │       │   ├── nant.build
    │   │   │   │       │   ├── nant.config
    │   │   │   │       │   └── src
    │   │   │   │       │       ├── AssemblyInfo.cs
    │   │   │   │       │       ├── NotLogging.cs
    │   │   │   │       │       └── NotLogging.csproj
    │   │   │   │       ├── nant.build
    │   │   │   │       ├── nant.config
    │   │   │   │       └── vb
    │   │   │   │           ├── nant.build
    │   │   │   │           ├── nant.config
    │   │   │   │           └── src
    │   │   │   │               ├── AssemblyInfo.vb
    │   │   │   │               ├── NotLogging.vb
    │   │   │   │               └── NotLogging.vbproj
    │   │   │   ├── Remoting
    │   │   │   │   ├── nant.build
    │   │   │   │   ├── nant.config
    │   │   │   │   ├── RemotingClient
    │   │   │   │   │   ├── cs
    │   │   │   │   │   │   ├── nant.build
    │   │   │   │   │   │   ├── nant.config
    │   │   │   │   │   │   └── src
    │   │   │   │   │   │       ├── App.config
    │   │   │   │   │   │       ├── AssemblyInfo.cs
    │   │   │   │   │   │       ├── RemotingClient.cs
    │   │   │   │   │   │       └── RemotingClient.csproj
    │   │   │   │   │   ├── nant.build
    │   │   │   │   │   └── nant.config
    │   │   │   │   └── RemotingServer
    │   │   │   │       ├── cs
    │   │   │   │       │   ├── nant.build
    │   │   │   │       │   ├── nant.config
    │   │   │   │       │   └── src
    │   │   │   │       │       ├── App.config
    │   │   │   │       │       ├── AssemblyInfo.cs
    │   │   │   │       │       ├── RemotingServer.cs
    │   │   │   │       │       └── RemotingServer.csproj
    │   │   │   │       ├── nant.build
    │   │   │   │       └── nant.config
    │   │   │   ├── Repository
    │   │   │   │   ├── nant.build
    │   │   │   │   ├── nant.config
    │   │   │   │   ├── SharedModule
    │   │   │   │   │   ├── cs
    │   │   │   │   │   │   ├── nant.build
    │   │   │   │   │   │   ├── nant.config
    │   │   │   │   │   │   └── src
    │   │   │   │   │   │       ├── AssemblyInfo.cs
    │   │   │   │   │   │       ├── Math.cs
    │   │   │   │   │   │       └── SharedModule.csproj
    │   │   │   │   │   ├── nant.build
    │   │   │   │   │   ├── nant.config
    │   │   │   │   │   └── vb
    │   │   │   │   │       ├── nant.build
    │   │   │   │   │       ├── nant.config
    │   │   │   │   │       └── src
    │   │   │   │   │           ├── AssemblyInfo.vb
    │   │   │   │   │           ├── Math.vb
    │   │   │   │   │           └── SharedModule.vbproj
    │   │   │   │   ├── SimpleApp
    │   │   │   │   │   ├── cs
    │   │   │   │   │   │   ├── nant.build
    │   │   │   │   │   │   ├── nant.config
    │   │   │   │   │   │   └── src
    │   │   │   │   │   │       ├── App.config
    │   │   │   │   │   │       ├── AssemblyInfo.cs
    │   │   │   │   │   │       ├── EntryPoint.cs
    │   │   │   │   │   │       ├── SimpleApp.csproj
    │   │   │   │   │   │       └── SimpleApp.exe.log4net
    │   │   │   │   │   ├── nant.build
    │   │   │   │   │   ├── nant.config
    │   │   │   │   │   └── vb
    │   │   │   │   │       ├── nant.build
    │   │   │   │   │       ├── nant.config
    │   │   │   │   │       └── src
    │   │   │   │   │           ├── App.config
    │   │   │   │   │           ├── AssemblyInfo.vb
    │   │   │   │   │           ├── EntryPoint.vb
    │   │   │   │   │           ├── SimpleApp.exe.log4net
    │   │   │   │   │           └── SimpleApp.vbproj
    │   │   │   │   └── SimpleModule
    │   │   │   │       ├── cs
    │   │   │   │       │   ├── nant.build
    │   │   │   │       │   ├── nant.config
    │   │   │   │       │   └── src
    │   │   │   │       │       ├── AssemblyInfo.cs
    │   │   │   │       │       ├── Math.cs
    │   │   │   │       │       ├── SimpleModule.csproj
    │   │   │   │       │       └── SimpleModule.dll.log4net
    │   │   │   │       ├── nant.build
    │   │   │   │       ├── nant.config
    │   │   │   │       └── vb
    │   │   │   │           ├── nant.build
    │   │   │   │           ├── nant.config
    │   │   │   │           └── src
    │   │   │   │               ├── AssemblyInfo.vb
    │   │   │   │               ├── Math.vb
    │   │   │   │               ├── SimpleModule.dll.log4net
    │   │   │   │               └── SimpleModule.vbproj
    │   │   │   ├── Tutorials
    │   │   │   │   ├── ConsoleApp
    │   │   │   │   │   ├── cs
    │   │   │   │   │   │   ├── nant.build
    │   │   │   │   │   │   ├── nant.config
    │   │   │   │   │   │   └── src
    │   │   │   │   │   │       ├── App.config
    │   │   │   │   │   │       ├── AssemblyInfo.cs
    │   │   │   │   │   │       ├── ConsoleApp.csproj
    │   │   │   │   │   │       └── LoggingExample.cs
    │   │   │   │   │   ├── nant.build
    │   │   │   │   │   ├── nant.config
    │   │   │   │   │   └── vb
    │   │   │   │   │       ├── nant.build
    │   │   │   │   │       ├── nant.config
    │   │   │   │   │       └── src
    │   │   │   │   │           ├── App.config
    │   │   │   │   │           ├── AssemblyInfo.vb
    │   │   │   │   │           ├── ConsoleApp.vbproj
    │   │   │   │   │           └── LoggingExample.vb
    │   │   │   │   ├── nant.build
    │   │   │   │   ├── nant.config
    │   │   │   │   └── WebApp
    │   │   │   │       ├── cs
    │   │   │   │       │   ├── nant.build
    │   │   │   │       │   ├── nant.config
    │   │   │   │       │   └── src
    │   │   │   │       │       ├── AssemblyInfo.cs
    │   │   │   │       │       ├── AssemblyVersionInfo.cs
    │   │   │   │       │       ├── Global.asax
    │   │   │   │       │       ├── Global.asax.cs
    │   │   │   │       │       ├── Global.asax.resx
    │   │   │   │       │       ├── SimpleModule.dll.log4net
    │   │   │   │       │       ├── WebApp.csproj
    │   │   │   │       │       ├── WebApp.csproj.webinfo
    │   │   │   │       │       ├── WebApp.dll.log4net
    │   │   │   │       │       ├── WebApp.vsdisco
    │   │   │   │       │       ├── Web.config
    │   │   │   │       │       ├── WebForm1.aspx
    │   │   │   │       │       ├── WebForm1.aspx.cs
    │   │   │   │       │       └── WebForm1.aspx.resx
    │   │   │   │       ├── nant.build
    │   │   │   │       ├── nant.config
    │   │   │   │       ├── readme.txt
    │   │   │   │       └── vb
    │   │   │   │           ├── nant.build
    │   │   │   │           ├── nant.config
    │   │   │   │           └── src
    │   │   │   │               ├── AssemblyInfo.vb
    │   │   │   │               ├── AssemblyVersionInfo.vb
    │   │   │   │               ├── Global.asax
    │   │   │   │               ├── Global.asax.resx
    │   │   │   │               ├── Global.asax.vb
    │   │   │   │               ├── SimpleModule.dll.log4net
    │   │   │   │               ├── WebApp.dll.log4net
    │   │   │   │               ├── WebApp.vbproj
    │   │   │   │               ├── WebApp.vbproj.webinfo
    │   │   │   │               ├── WebApp.vsdisco
    │   │   │   │               ├── Web.config
    │   │   │   │               ├── WebForm1.aspx
    │   │   │   │               ├── WebForm1.aspx.resx
    │   │   │   │               └── WebForm1.aspx.vb
    │   │   │   └── vb-examples.sln
    │   │   ├── nant.build
    │   │   └── nant.config
    │   ├── netcf
    │   │   ├── 1.0
    │   │   │   ├── cs-examples.sln
    │   │   │   ├── nant.build
    │   │   │   ├── nant.config
    │   │   │   ├── Tutorials
    │   │   │   │   ├── ConsoleApp
    │   │   │   │   │   ├── cs
    │   │   │   │   │   │   ├── nant.build
    │   │   │   │   │   │   ├── nant.config
    │   │   │   │   │   │   └── src
    │   │   │   │   │   │       ├── AssemblyInfo.cs
    │   │   │   │   │   │       ├── ConsoleApp.csdproj
    │   │   │   │   │   │       ├── ConsoleApp.exe.config
    │   │   │   │   │   │       ├── EntryPoint.cs
    │   │   │   │   │   │       └── LoggingExample.cs
    │   │   │   │   │   ├── nant.build
    │   │   │   │   │   ├── nant.config
    │   │   │   │   │   └── vb
    │   │   │   │   │       ├── nant.build
    │   │   │   │   │       ├── nant.config
    │   │   │   │   │       └── src
    │   │   │   │   │           ├── AssemblyInfo.vb
    │   │   │   │   │           ├── ConsoleApp.exe.config
    │   │   │   │   │           ├── ConsoleApp.vbdproj
    │   │   │   │   │           ├── EntryPoint.vb
    │   │   │   │   │           └── LoggingExample.vb
    │   │   │   │   ├── nant.build
    │   │   │   │   └── nant.config
    │   │   │   └── vb-examples.sln
    │   │   ├── nant.build
    │   │   └── nant.config
    │   └── sscli
    │       ├── 1.0
    │       │   ├── nant.build
    │       │   ├── nant.config
    │       │   ├── Repository
    │       │   │   ├── nant.build
    │       │   │   ├── nant.config
    │       │   │   ├── SharedModule
    │       │   │   │   ├── cs
    │       │   │   │   │   ├── nant.build
    │       │   │   │   │   ├── nant.config
    │       │   │   │   │   └── src
    │       │   │   │   │       ├── AssemblyInfo.cs
    │       │   │   │   │       └── Math.cs
    │       │   │   │   ├── nant.build
    │       │   │   │   └── nant.config
    │       │   │   ├── SimpleApp
    │       │   │   │   ├── cs
    │       │   │   │   │   ├── nant.build
    │       │   │   │   │   ├── nant.config
    │       │   │   │   │   └── src
    │       │   │   │   │       ├── App.config
    │       │   │   │   │       ├── AssemblyInfo.cs
    │       │   │   │   │       ├── EntryPoint.cs
    │       │   │   │   │       └── SimpleApp.exe.log4net
    │       │   │   │   ├── nant.build
    │       │   │   │   └── nant.config
    │       │   │   └── SimpleModule
    │       │   │       ├── cs
    │       │   │       │   ├── nant.build
    │       │   │       │   ├── nant.config
    │       │   │       │   └── src
    │       │   │       │       ├── AssemblyInfo.cs
    │       │   │       │       ├── Math.cs
    │       │   │       │       └── SimpleModule.dll.log4net
    │       │   │       ├── nant.build
    │       │   │       └── nant.config
    │       │   └── Tutorials
    │       │       ├── ConsoleApp
    │       │       │   ├── js
    │       │       │   │   ├── nant.build
    │       │       │   │   ├── nant.config
    │       │       │   │   └── src
    │       │       │   │       ├── App.config
    │       │       │   │       ├── AssemblyInfo.js
    │       │       │   │       └── LoggingExample.js
    │       │       │   ├── nant.build
    │       │       │   └── nant.config
    │       │       ├── nant.build
    │       │       └── nant.config
    │       ├── nant.build
    │       └── nant.config
    ├── extensions
    │   ├── nant.build
    │   ├── nant.config
    │   └── net
    │       ├── 1.0
    │       │   ├── cs-extensions.sln
    │       │   ├── log4net.Ext.EventID
    │       │   │   ├── cs
    │       │   │   │   ├── nant.build
    │       │   │   │   ├── nant.config
    │       │   │   │   └── src
    │       │   │   │       ├── AssemblyInfo.cs
    │       │   │   │       ├── EventIDLogImpl.cs
    │       │   │   │       ├── EventIDLogManager.cs
    │       │   │   │       ├── IEventIDLog.cs
    │       │   │   │       └── log4net.Ext.EventID.csproj
    │       │   │   ├── nant.build
    │       │   │   └── nant.config
    │       │   ├── log4net.Ext.MarshalByRef
    │       │   │   ├── cs
    │       │   │   │   ├── nant.build
    │       │   │   │   ├── nant.config
    │       │   │   │   └── src
    │       │   │   │       ├── AssemblyInfo.cs
    │       │   │   │       ├── log4net.Ext.MarshalByRef.csproj
    │       │   │   │       ├── MarshalByRefLogImpl.cs
    │       │   │   │       └── MarshalByRefLogManager.cs
    │       │   │   ├── nant.build
    │       │   │   └── nant.config
    │       │   ├── log4net.Ext.Trace
    │       │   │   ├── cs
    │       │   │   │   ├── nant.build
    │       │   │   │   ├── nant.config
    │       │   │   │   └── src
    │       │   │   │       ├── AssemblyInfo.cs
    │       │   │   │       ├── ITraceLog.cs
    │       │   │   │       ├── log4net.Ext.Trace.csproj
    │       │   │   │       ├── TraceLogImpl.cs
    │       │   │   │       └── TraceLogManager.cs
    │       │   │   ├── nant.build
    │       │   │   └── nant.config
    │       │   ├── nant.build
    │       │   └── nant.config
    │       ├── nant.build
    │       └── nant.config
    ├── install-dotnet-core-sdk-1.1.ps1
    ├── install-net-framework-sdk-3.5.ps1
    ├── Jenkinsfile
    ├── KEYS
    ├── LICENSE
    ├── local-tasks
    │   ├── build-site.js
    │   ├── hash-build-artifacts.js
    │   ├── prefix-build-artifacts.js
    │   ├── prepare-build-artifacts.js
    │   ├── update-version-info.js
    │   └── zip.js
    ├── log4net.build
    ├── log4net.include
    ├── log4net.shfbproj
    ├── log4net.snk
    ├── log4net.snk.readme
    ├── netstandard
    │   ├── global.json
    │   ├── log4net
    │   │   ├── CompatibilityExtensions.cs
    │   │   ├── log4net.xproj
    │   │   └── project.json
    │   ├── log4net.netstandard.sln
    │   └── log4net.tests
    │       ├── ApplicationException.cs
    │       ├── CompatibilityExtensions.cs
    │       ├── ExpectedExceptionAttribute.cs
    │       ├── log4net.tests.xproj
    │       └── project.json
    ├── NOTICE
    ├── package-icon.png
    ├── package.json
    ├── package-lock.json
    ├── pom.xml
    ├── README.md
    ├── src
    │   ├── changes
    │   │   └── changes.xml
    │   ├── Directory.Build.props
    │   ├── integration-testing
    │   │   ├── log4net-611-lib
    │   │   │   ├── DerivedAppender.cs
    │   │   │   └── log4net-611-lib.csproj
    │   │   ├── log4net-611-main
    │   │   │   ├── log4net-611-main.csproj
    │   │   │   ├── log4net.config
    │   │   │   └── Program.cs
    │   │   ├── log4net-672
    │   │   │   ├── log4net-672.csproj
    │   │   │   ├── log4net.config
    │   │   │   └── Program.cs
    │   │   ├── log4net-673
    │   │   │   ├── log4net-673.csproj
    │   │   │   ├── log4net.config
    │   │   │   └── Program.cs
    │   │   └── log4net-681
    │   │       ├── log4net-681.csproj
    │   │       ├── log4net.config
    │   │       └── Program.cs
    │   ├── log4net
    │   │   ├── Appender
    │   │   │   ├── AdoNetAppender.cs
    │   │   │   ├── AnsiColorTerminalAppender.cs
    │   │   │   ├── AppenderCollection.cs
    │   │   │   ├── AppenderSkeleton.cs
    │   │   │   ├── AspNetTraceAppender.cs
    │   │   │   ├── BufferingAppenderSkeleton.cs
    │   │   │   ├── BufferingForwardingAppender.cs
    │   │   │   ├── ColoredConsoleAppender.cs
    │   │   │   ├── ConsoleAppender.cs
    │   │   │   ├── DebugAppender.cs
    │   │   │   ├── EventLogAppender.cs
    │   │   │   ├── FileAppender.cs
    │   │   │   ├── ForwardingAppender.cs
    │   │   │   ├── IAppender.cs
    │   │   │   ├── IBulkAppender.cs
    │   │   │   ├── IFlushable.cs
    │   │   │   ├── LocalSyslogAppender.cs
    │   │   │   ├── ManagedColoredConsoleAppender.cs
    │   │   │   ├── MemoryAppender.cs
    │   │   │   ├── NetSendAppender.cs
    │   │   │   ├── OutputDebugStringAppender.cs
    │   │   │   ├── RemoteSyslogAppender.cs
    │   │   │   ├── RemotingAppender.cs
    │   │   │   ├── RollingFileAppender.cs
    │   │   │   ├── SmtpAppender.cs
    │   │   │   ├── SmtpPickupDirAppender.cs
    │   │   │   ├── TelnetAppender.cs
    │   │   │   ├── TextWriterAppender.cs
    │   │   │   ├── TraceAppender.cs
    │   │   │   └── UdpAppender.cs
    │   │   ├── assembly
    │   │   │   └── bin.xml
    │   │   ├── AssemblyInfo.cs
    │   │   ├── AssemblyVersionInfo.cs
    │   │   ├── Config
    │   │   │   ├── AliasDomainAttribute.cs
    │   │   │   ├── AliasRepositoryAttribute.cs
    │   │   │   ├── BasicConfigurator.cs
    │   │   │   ├── ConfiguratorAttribute.cs
    │   │   │   ├── DomainAttribute.cs
    │   │   │   ├── DOMConfiguratorAttribute.cs
    │   │   │   ├── DOMConfigurator.cs
    │   │   │   ├── Log4NetConfigurationSectionHandler.cs
    │   │   │   ├── PluginAttribute.cs
    │   │   │   ├── RepositoryAttribute.cs
    │   │   │   ├── SecurityContextProviderAttribute.cs
    │   │   │   ├── XmlConfiguratorAttribute.cs
    │   │   │   └── XmlConfigurator.cs
    │   │   ├── Core
    │   │   │   ├── CompactRepositorySelector.cs
    │   │   │   ├── DefaultRepositorySelector.cs
    │   │   │   ├── ErrorCode.cs
    │   │   │   ├── ExceptionEvaluator.cs
    │   │   │   ├── FixFlags.cs
    │   │   │   ├── IAppenderAttachable.cs
    │   │   │   ├── IErrorHandler.cs
    │   │   │   ├── IFixingRequired.cs
    │   │   │   ├── ILogger.cs
    │   │   │   ├── ILoggerWrapper.cs
    │   │   │   ├── IOptionHandler.cs
    │   │   │   ├── IRepositorySelector.cs
    │   │   │   ├── ITriggeringEventEvaluator.cs
    │   │   │   ├── LevelCollection.cs
    │   │   │   ├── Level.cs
    │   │   │   ├── LevelEvaluator.cs
    │   │   │   ├── LevelMap.cs
    │   │   │   ├── LocationInfo.cs
    │   │   │   ├── LogException.cs
    │   │   │   ├── LoggerManager.cs
    │   │   │   ├── LoggerWrapperImpl.cs
    │   │   │   ├── LoggingEvent.cs
    │   │   │   ├── LogImpl.cs
    │   │   │   ├── MethodItem.cs
    │   │   │   ├── SecurityContext.cs
    │   │   │   ├── SecurityContextProvider.cs
    │   │   │   ├── StackFrameItem.cs
    │   │   │   ├── TimeEvaluator.cs
    │   │   │   └── WrapperMap.cs
    │   │   ├── DateFormatter
    │   │   │   ├── AbsoluteTimeDateFormatter.cs
    │   │   │   ├── DateTimeDateFormatter.cs
    │   │   │   ├── IDateFormatter.cs
    │   │   │   ├── Iso8601DateFormatter.cs
    │   │   │   └── SimpleDateFormatter.cs
    │   │   ├── Filter
    │   │   │   ├── DenyAllFilter.cs
    │   │   │   ├── FilterDecision.cs
    │   │   │   ├── FilterSkeleton.cs
    │   │   │   ├── IFilter.cs
    │   │   │   ├── LevelMatchFilter.cs
    │   │   │   ├── LevelRangeFilter.cs
    │   │   │   ├── LoggerMatchFilter.cs
    │   │   │   ├── MdcFilter.cs
    │   │   │   ├── NdcFilter.cs
    │   │   │   ├── PropertyFilter.cs
    │   │   │   └── StringMatchFilter.cs
    │   │   ├── GlobalContext.cs
    │   │   ├── ILog.cs
    │   │   ├── Layout
    │   │   │   ├── DynamicPatternLayout.cs
    │   │   │   ├── ExceptionLayout.cs
    │   │   │   ├── ILayout.cs
    │   │   │   ├── IRawLayout.cs
    │   │   │   ├── Layout2RawLayoutAdapter.cs
    │   │   │   ├── LayoutSkeleton.cs
    │   │   │   ├── Pattern
    │   │   │   │   ├── AppDomainPatternConverter.cs
    │   │   │   │   ├── AspNetCachePatternConverter.cs
    │   │   │   │   ├── AspNetContextPatternConverter.cs
    │   │   │   │   ├── AspNetPatternConverter.cs
    │   │   │   │   ├── AspNetRequestPatternConverter.cs
    │   │   │   │   ├── AspNetSessionPatternConverter.cs
    │   │   │   │   ├── DatePatternConverter.cs
    │   │   │   │   ├── ExceptionPatternConverter.cs
    │   │   │   │   ├── FileLocationPatternConverter.cs
    │   │   │   │   ├── FullLocationPatternConverter.cs
    │   │   │   │   ├── IdentityPatternConverter.cs
    │   │   │   │   ├── LevelPatternConverter.cs
    │   │   │   │   ├── LineLocationPatternConverter.cs
    │   │   │   │   ├── LoggerPatternConverter.cs
    │   │   │   │   ├── MessagePatternConverter.cs
    │   │   │   │   ├── MethodLocationPatternConverter.cs
    │   │   │   │   ├── NamedPatternConverter.cs
    │   │   │   │   ├── NdcPatternConverter.cs
    │   │   │   │   ├── PatternLayoutConverter.cs
    │   │   │   │   ├── PropertyPatternConverter.cs
    │   │   │   │   ├── RelativeTimePatternConverter.cs
    │   │   │   │   ├── StackTraceDetailPatternConverter.cs
    │   │   │   │   ├── StackTracePatternConverter.cs
    │   │   │   │   ├── ThreadPatternConverter.cs
    │   │   │   │   ├── TypeNamePatternConverter.cs
    │   │   │   │   ├── UserNamePatternConverter.cs
    │   │   │   │   └── UtcDatePatternConverter.cs
    │   │   │   ├── PatternLayout.cs
    │   │   │   ├── RawLayoutConverter.cs
    │   │   │   ├── RawPropertyLayout.cs
    │   │   │   ├── RawTimeStampLayout.cs
    │   │   │   ├── RawUtcTimeStampLayout.cs
    │   │   │   ├── SimpleLayout.cs
    │   │   │   ├── XmlLayoutBase.cs
    │   │   │   ├── XmlLayout.cs
    │   │   │   └── XmlLayoutSchemaLog4j.cs
    │   │   ├── Log4netAssemblyInfo.cs
    │   │   ├── log4net.csproj
    │   │   ├── LogicalThreadContext.cs
    │   │   ├── LogManager.cs
    │   │   ├── MDC.cs
    │   │   ├── NDC.cs
    │   │   ├── NetStandardCompatibilityExtensions.cs
    │   │   ├── ObjectRenderer
    │   │   │   ├── DefaultRenderer.cs
    │   │   │   ├── IObjectRenderer.cs
    │   │   │   └── RendererMap.cs
    │   │   ├── Plugin
    │   │   │   ├── IPlugin.cs
    │   │   │   ├── IPluginFactory.cs
    │   │   │   ├── PluginCollection.cs
    │   │   │   ├── PluginMap.cs
    │   │   │   ├── PluginSkeleton.cs
    │   │   │   └── RemoteLoggingServerPlugin.cs
    │   │   ├── Repository
    │   │   │   ├── ConfigurationChangedEventArgs.cs
    │   │   │   ├── Hierarchy
    │   │   │   │   ├── DefaultLoggerFactory.cs
    │   │   │   │   ├── Hierarchy.cs
    │   │   │   │   ├── ILoggerFactory.cs
    │   │   │   │   ├── Logger.cs
    │   │   │   │   ├── LoggerKey.cs
    │   │   │   │   ├── ProvisionNode.cs
    │   │   │   │   ├── RootLogger.cs
    │   │   │   │   └── XmlHierarchyConfigurator.cs
    │   │   │   ├── IBasicRepositoryConfigurator.cs
    │   │   │   ├── ILoggerRepository.cs
    │   │   │   ├── IXmlRepositoryConfigurator.cs
    │   │   │   └── LoggerRepositorySkeleton.cs
    │   │   ├── ThreadContext.cs
    │   │   └── Util
    │   │       ├── AppenderAttachedImpl.cs
    │   │       ├── CompositeProperties.cs
    │   │       ├── ContextPropertiesBase.cs
    │   │       ├── ConverterInfo.cs
    │   │       ├── CountingQuietTextWriter.cs
    │   │       ├── CyclicBuffer.cs
    │   │       ├── EmptyCollection.cs
    │   │       ├── EmptyDictionary.cs
    │   │       ├── FormattingInfo.cs
    │   │       ├── GlobalContextProperties.cs
    │   │       ├── ILogExtensions.cs
    │   │       ├── LevelMapping.cs
    │   │       ├── LevelMappingEntry.cs
    │   │       ├── LogicalThreadContextProperties.cs
    │   │       ├── LogicalThreadContextStack.cs
    │   │       ├── LogicalThreadContextStacks.cs
    │   │       ├── LogLog.cs
    │   │       ├── NativeError.cs
    │   │       ├── NullDictionaryEnumerator.cs
    │   │       ├── NullEnumerator.cs
    │   │       ├── NullSecurityContext.cs
    │   │       ├── OnlyOnceErrorHandler.cs
    │   │       ├── OptionConverter.cs
    │   │       ├── PatternConverter.cs
    │   │       ├── PatternParser.cs
    │   │       ├── PatternStringConverters
    │   │       │   ├── AppDomainPatternConverter.cs
    │   │       │   ├── AppSettingPatternConverter.cs
    │   │       │   ├── DatePatternConverter.cs
    │   │       │   ├── EnvironmentFolderPathPatternConverter.cs
    │   │       │   ├── EnvironmentPatternConverter.cs
    │   │       │   ├── IdentityPatternConverter.cs
    │   │       │   ├── LiteralPatternConverter.cs
    │   │       │   ├── NewLinePatternConverter.cs
    │   │       │   ├── ProcessIdPatternConverter.cs
    │   │       │   ├── PropertyPatternConverter.cs
    │   │       │   ├── RandomStringPatternConverter.cs
    │   │       │   ├── UserNamePatternConverter.cs
    │   │       │   └── UtcDatePatternConverter.cs
    │   │       ├── PatternString.cs
    │   │       ├── PropertiesDictionary.cs
    │   │       ├── PropertyEntry.cs
    │   │       ├── ProtectCloseTextWriter.cs
    │   │       ├── QuietTextWriter.cs
    │   │       ├── ReaderWriterLock.cs
    │   │       ├── ReadOnlyPropertiesDictionary.cs
    │   │       ├── ReusableStringWriter.cs
    │   │       ├── SystemInfo.cs
    │   │       ├── SystemStringFormat.cs
    │   │       ├── TextWriterAdapter.cs
    │   │       ├── ThreadContextProperties.cs
    │   │       ├── ThreadContextStack.cs
    │   │       ├── ThreadContextStacks.cs
    │   │       ├── Transform.cs
    │   │       ├── TypeConverters
    │   │       │   ├── BooleanConverter.cs
    │   │       │   ├── ConversionNotSupportedException.cs
    │   │       │   ├── ConverterRegistry.cs
    │   │       │   ├── EncodingConverter.cs
    │   │       │   ├── IConvertFrom.cs
    │   │       │   ├── IConvertTo.cs
    │   │       │   ├── IPAddressConverter.cs
    │   │       │   ├── PatternLayoutConverter.cs
    │   │       │   ├── PatternStringConverter.cs
    │   │       │   ├── TypeConverterAttribute.cs
    │   │       │   └── TypeConverter.cs
    │   │       └── WindowsSecurityContext.cs
    │   ├── log4net.sln
    │   ├── log4net.Tests
    │   │   ├── Appender
    │   │   │   ├── AdoNet
    │   │   │   │   ├── Log4NetCommand.cs
    │   │   │   │   ├── Log4NetConnection.cs
    │   │   │   │   ├── Log4NetParameterCollection.cs
    │   │   │   │   ├── Log4NetParameter.cs
    │   │   │   │   └── Log4NetTransaction.cs
    │   │   │   ├── AdoNetAppenderTest.cs
    │   │   │   ├── AppenderCollectionTest.cs
    │   │   │   ├── BufferingAppenderTest.cs
    │   │   │   ├── CountingAppender.cs
    │   │   │   ├── DebugAppenderTest.cs
    │   │   │   ├── EventLogAppenderTest.cs
    │   │   │   ├── EventRaisingAppender.cs
    │   │   │   ├── MemoryAppenderTest.cs
    │   │   │   ├── RecursiveLoggingTest.cs
    │   │   │   ├── RemotingAppenderTest.cs
    │   │   │   ├── RollingFileAppenderTest.cs
    │   │   │   ├── SmtpPickupDirAppenderTest.cs
    │   │   │   ├── StringAppender.cs
    │   │   │   └── TraceAppenderTest.cs
    │   │   ├── AssemblyInfo.cs
    │   │   ├── Context
    │   │   │   ├── LogicalThreadContextTest.cs
    │   │   │   └── ThreadContextTest.cs
    │   │   ├── Core
    │   │   │   ├── EvaluatorTest.cs
    │   │   │   ├── FixingTest.cs
    │   │   │   ├── ShutdownTest.cs
    │   │   │   └── StringFormatTest.cs
    │   │   ├── DateFormatter
    │   │   │   └── AbsoluteTimeDateFormatterTest.cs
    │   │   ├── Filter
    │   │   │   └── FilterTest.cs
    │   │   ├── Hierarchy
    │   │   │   ├── Hierarchy.cs
    │   │   │   ├── Logger.cs
    │   │   │   └── XmlHierarchyConfiguratorTest.cs
    │   │   ├── Layout
    │   │   │   ├── DynamicPatternLayoutTest.cs
    │   │   │   ├── PatternLayoutTest.cs
    │   │   │   └── XmlLayoutTest.cs
    │   │   ├── log4net.Tests.csproj
    │   │   ├── LoggerRepository
    │   │   │   └── ConfigurationMessages.cs
    │   │   ├── NUnitTestRunnerInitializer.cs
    │   │   ├── Signing.cs
    │   │   ├── Util
    │   │   │   ├── CyclicBufferTest.cs
    │   │   │   ├── EnvironmentPatternConverterTest.cs
    │   │   │   ├── LogLogTest.cs
    │   │   │   ├── PatternConverterTest.cs
    │   │   │   ├── PatternStringTest.cs
    │   │   │   ├── PropertiesDictionaryTest.cs
    │   │   │   ├── RandomStringPatternConverterTest.cs
    │   │   │   ├── SystemInfoTest.cs
    │   │   │   └── TransformTest.cs
    │   │   └── Utils.cs
    │   ├── MonoForFramework.targets
    │   └── site
    │       ├── apt
    │       │   └── roadmap.apt
    │       ├── resources
    │       │   ├── css
    │       │   │   ├── bootstrap.css
    │       │   │   ├── bootstrap.min.css
    │       │   │   └── site.css
    │       │   ├── doap_log4net.rdf
    │       │   ├── images
    │       │   │   ├── collapsed.gif
    │       │   │   ├── expanded.gif
    │       │   │   ├── logo.jpg
    │       │   │   ├── ls-logo.jpg
    │       │   │   └── maven-feather.png
    │       │   ├── img
    │       │   │   ├── glyphicons-halflings.png
    │       │   │   └── glyphicons-halflings-white.png
    │       │   └── js
    │       │       ├── bootstrap.js
    │       │       ├── bootstrap.min.js
    │       │       ├── jquery.js
    │       │       ├── jquery.min.js
    │       │       ├── prettify.js
    │       │       ├── prettify.min.js
    │       │       └── site.js
    │       ├── site.vm
    │       ├── site.xml
    │       └── xdoc
    │           ├── download_log4net.xml
    │           ├── history.xml
    │           ├── index.xml
    │           └── release
    │               ├── building.xml
    │               ├── config-examples.xml
    │               ├── example-apps.xml
    │               ├── faq.xml
    │               ├── features.xml
    │               ├── framework-support.xml
    │               ├── howto
    │               │   ├── chainsaw.xml
    │               │   └── index.xml
    │               ├── manual
    │               │   ├── configuration.xml
    │               │   ├── contexts.xml
    │               │   ├── internals.xml
    │               │   ├── introduction.xml
    │               │   ├── plugins.xml
    │               │   └── repositories.xml
    │               ├── release-notes.xml
    │               └── security-reports.xml
    ├── STATUS.txt
    └── tests
        ├── lib
        │   └── prerequisites.txt
        └── nant.build

190 directories, 755 files

标签: log4net Apache NET PAC Log

实例下载地址

Apache log4net日志项目实例源码

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警