log4net is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4net it is possible to enable logging at runtime without modifying the application binary. The log4net package is designed so that log statements can remain in shipped code without incurring a high performance cost. It follows that the speed of logging (or rather not logging) is crucial.
At the same time, log output can be so voluminous that it quickly becomes overwhelming. One of the distinctive features of log4net is the notion of hierarchical loggers. Using these loggers it is possible to selectively control which log statements are output at arbitrary granularity.
log4net is designed with two distinct goals in mind: speed and flexibility
See the version list below for details.
Install-Package log4net -Version 2.0.1
dotnet add package log4net --version 2.0.1
<PackageReference Include="log4net" Version="2.0.1" />
paket add log4net --version 2.0.1
This package has no dependencies.
NuGet packages (2.5K)
Showing the top 5 NuGet packages that depend on log4net:
MiNET - a Minecraft PocketEdition Server
Application Insights Log4Net Appender is a customer appender allowing you to send Log4Net log messages to Application Insights. Application Insights will collect your logs from multiple sources and provide rich powerful search capabilities. Privacy statement: https://go.microsoft.com/fwlink/?LinkId=512156
Allows to configure Log4net as Microsoft Extensions Logging handler on any ASP.NET Core application. Original code proposal by @anuraj --> https://dotnetthoughts.net/how-to-use-log4net-with-aspnetcore-for-logging/
Asynchronous Log4Net appenders and forwarder
GitHub repositories (237)
Showing the top 5 popular GitHub repositories that depend on log4net:
ASP.NET Boilerplate - Web Application Framework
Chocolatey - the package manager for Windows
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
A wrapper executable that can run any executable as a Windows service, in a permissive license.
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.