Info
Version: | 3.0.3 |
Author(s): | The Apache Software Foundation |
Last Update: | Thursday, November 7, 2024 |
.NET Fiddle: | Online Example |
Project Url: | https://logging.apache.org/log4net/ |
NuGet Url: | https://www.nuget.org/packages/log4net |
Install
Install-Package log4net
dotnet add package log4net
paket add log4net
log4net Download (Unzip the "nupkg" after downloading)
Dependencies
.NETFramework 2.0
No dependencies.
No dependencies.
No dependencies.
No dependencies.
No dependencies.
- NETStandard.Library(>= 1.6.1)
- System.AppContext(>= 4.3.0)
- System.Collections.NonGeneric(>= 4.0.1)
- System.Console(>= 4.3.0)
- System.Data.Common(>= 4.1.0)
- System.Diagnostics.Debug(>= 4.3.0)
- System.Diagnostics.Process(>= 4.1.0)
- System.Diagnostics.StackTrace(>= 4.0.1)
- System.Diagnostics.TraceSource(>= 4.0.0)
- System.IO.FileSystem(>= 4.3.0)
- System.IO.FileSystem.Watcher(>= 4.0.0)
- System.Linq(>= 4.3.0)
- System.Net.NameResolution(>= 4.0.0)
- System.Net.Requests(>= 4.0.11)
- System.Net.Sockets(>= 4.3.0)
- System.Reflection(>= 4.3.0)
- System.Reflection.Extensions(>= 4.3.0)
- System.Reflection.TypeExtensions(>= 4.1.0)
- System.Runtime.Extensions(>= 4.3.0)
- System.Runtime.InteropServices(>= 4.3.0)
- System.Runtime.InteropServices.RuntimeInformation(>= 4.3.0)
- System.Runtime.Serialization.Formatters(>= 4.3.0)
- System.Text.Encoding(>= 4.3.0)
- System.Text.RegularExpressions(>= 4.3.0)
- System.Threading(>= 4.3.0)
- System.Threading.Thread(>= 4.0.0)
- System.Threading.Timer(>= 4.3.0)
- System.Xml.ReaderWriter(>= 4.3.0)
- System.Xml.XmlDocument(>= 4.0.1)
No dependencies.
Tags
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.