seq-logging-aspnetcore
A very simple example showing why we want structured logs (by hyrmn)
log4net
By apache
seq-logging-aspnetcore | log4net | |
---|---|---|
2 | 1 | |
7 | 440 | |
- | - | |
10.0 | - | |
about 2 years ago | about 7 years ago | |
C# | C# | |
The Unlicense | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
seq-logging-aspnetcore
Posts with mentions or reviews of seq-logging-aspnetcore.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-28.
-
Best approach for logging in ASP.NET
I have a minimal example for logging with Serilog if you're interested: https://github.com/hyrmn/seq-logging-aspnetcore
-
SeriLog Help
If this helps, here is an example wire up of Serilog and Seq with minimal api. https://github.com/hyrmn/seq-logging-aspnetcore/blob/main/Program.cs
log4net
Posts with mentions or reviews of log4net.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-28.
-
Best approach for logging in ASP.NET
Log4Net does not get that much attention any more. From my understanding it served as an alternative for Log4J, but today better and more modern solutions have been created. I migrated a codebase over to .NET Core a couple of years ago, and it seemed that Log4net had issues running on Linux because of kernel calls inside their codebase. If you look at the version history on NuGet, it had just 3 patch releases last year. As an alternative, I would suggest to check out NLog.
What are some alternatives?
When comparing seq-logging-aspnetcore and log4net you can also consider the following projects:
NLog - NLog - Advanced and Structured Logging for Various .NET Platforms
serilog-aspnetcore - Serilog integration for ASP.NET Core