Description
log4net is a tool to help the programmer output log statements to a variety of output targets. 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.
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
Log4Net alternatives and similar packages
Based on the "Logging" category.
Alternatively, view Log4Net alternatives based on common mentions on social networks and blogs.
-
StackExchange.Exceptional
Error handler used for the Stack Exchange network -
Logary
Logs and metrics are one! Professional logging, metrics and analytics for your apps. -
Semantic Logging Application Block (SLAB)
Supporting semantic/structured logging for .NET -
Elmah MVC
Painless integration of ELMAH into ASP.NET MVC application -
NReco.Logging.File
Generic file logger for .NET Core (FileLoggerProvider) with minimal dependencies -
Sejil
Capture, view and filter your ASP.net core log events right from your app -
Serilog.Sinks.Notepad
A Serilog sink that writes log events to Notepad as text or JSON -
BugGuardian
BugGuardian: Easily track you exceptions on Azure DevOps and TFS -
Serilog.Sinks.ExcelDnaLogDisplay
A Serilog sink that writes events to Excel-DNA LogDisplay -
ExcelDna.Diagnostics.Serilog
Integrate Excel-DNA Diagnostic Logging with your Serilog logging pipeling within your Excel-DNA add-in -
NLog.Targets.Pushover
NLog.Targets.Pushover is a custom target for NLog enabling you to send logging messages to the Pushover service -
Ac682.Extensions.Logging.Console
a provider for Microsoft.Extensions.Logging which provides a colored console logger. -
Essential Diagnostics
Extends the inbuilt features of System.Diagnostics namespace to provide flexible logging -
BugSnag
Logs errors. Includes useful diagnostic info like stack trace, session, release, etc. Has a free tier. [Free for OSS][$]
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Log4Net or a related project?
README
Introduction
Apache log4net is a sub project of the Apache Logging Services project. Apache log4net graduated from the Apache Incubator in February 2007. Web site: http://logging.apache.org/log4net
Documentation
For the latest documentation see the log4net web site at: http://logging.apache.org/log4net
Contributing
log4net development happens on the logging dev mailing list, see https://logging.apache.org/log4net/mail-lists.html. Please join the mailing list and discuss bigger changes before working on them.
For bigger changes we must ask you to sign a Contributor License Agreement http://www.apache.org/licenses/#clas.
Github pull requests are one way to contribute, The Apache issue tracker is no longer accepting new issues but is available at https://issues.apache.org/jira/browse/LOG4NET for access to previous issues.
Developing
log4net targets a wide array of .net platforms, including some which are out of support from Microsoft, making it difficult to install relevant SDKs and build for those targets. In particular, older Client Profile .NET Framework targets and dotnet core 1.1 may be installed by using the bundled helper scripts:
These scripts download the relevant installers from Microsoft servers, but you run them at your own risk.
Please see [CONTRIBUTING.md](CONTRIBUTING.md) and [BUILDING.md](BUILDING.md)
*Note that all licence references and agreements mentioned in the Log4Net README section above
are relevant to that project's source code only.