Tracer
Tracing rewriter using Fody (by csnemes)
NLog
NLog - Advanced and Structured Logging for Various .NET Platforms (by nlog)
Tracer | NLog | |
---|---|---|
1 | 20 | |
92 | 6,172 | |
- | 0.4% | |
0.0 | 9.0 | |
over 1 year ago | 2 days ago | |
C# | C# | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
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.
Tracer
Posts with mentions or reviews of Tracer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-25.
-
Decorators in c#: Looking for HowTos
If it is about logging, this package might do it. In the end you need some kind of source generator, so something using Fody would be the way to go. However, as some others mentioned, I would not try to apply a Python concept not natively supported by C#. Logging in C# is done differently, you should look into Serilog and structured logging. OpenTelemetry is also an interesting concept for capturing when areas of your code and entered and left.
NLog
Posts with mentions or reviews of NLog.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-28.
-
Help with matching Serilog with Regex
What is it you're trying to accomplish? Either this is a regular expression problem (not really dotnet related) or you should try using structured logging, with a provider and sink that support it so you don't have to use regular expressions.
-
Logging in ASP.NET
NLog
- Use structured logging instead of string interpolation
-
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.
-
Logging in your API
C# -> Built in Logger, Log4Net, Serilog, NLog, e.t.c.
-
Propper Logging in Unity
I would like to use a proper logger like https://github.com/nlog/nlog
-
Powershell logging module
I'm going to look at psframework mentioned elsewhere, but i make use of .NET NLog https://nlog-project.org/. it's not terribly hard to wire up, and is pretty feature rich.
-
How to implement custom logger with compatible with Nlog?
have a look at this https://github.com/nlog/nlog/wiki/Context you dont want to make your own logger 99% of them time
-
Log literally everything a PS1 script is doing?
For a more structured log file*) layout, you could use something like NLog with a PS wrapper.
-
How to Send Bulk Log Email
NLog is another option here, with the buffering wrapper around an email target.
What are some alternatives?
When comparing Tracer and NLog you can also consider the following projects:
Rollbar.NET - Rollbar for .NET
Serilog - Simple .NET logging with fully-structured events
Log4Net - Apache Log4net is a versatile, feature-rich, efficient logging API and backend for .NET
ELMAH - Error Logging Modules & Handlers for ASP.NET
ZeroLog - A high-performance, zero-allocation .NET logging library.
Sentry - Sentry SDK for .NET
Logazmic - Windows log viewer for log4j
Semantic Logging Application Block (SLAB) - Supporting semantic/structured logging for .NET
Elmah MVC - Painless integration of ELMAH into ASP.NET MVC application
Logary - Logs and metrics are one! Professional logging, metrics and analytics for your apps.