serilog-extensions-logging
Serilog provider for Microsoft.Extensions.Logging (by serilog)
attributed
Use attributes to control how complex types are logged to Serilog. (by destructurama)
Our great sponsors
serilog-extensions-logging | attributed | |
---|---|---|
3 | 2 | |
302 | 244 | |
1.0% | 6.1% | |
7.0 | 8.1 | |
27 days ago | 18 days ago | |
C# | C# | |
Apache License 2.0 | 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.
serilog-extensions-logging
Posts with mentions or reviews of serilog-extensions-logging.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-01.
-
Serilog vs Microsoft Logger (ILogger)?
ILogger is an abstraction provided by Microsoft. It is not a logging framework, it's a way to standardize code to work on any logging framework. In your actual program you need to actually put the logging provider under that abstraction - Microsoft provides some defaults like a console logger, but generally you want to configure Serilog/NLog/whatever. See: https://github.com/serilog/serilog-extensions-logging
-
Serilog... why?
Microsoft.Extensions.Logging is a pipeline that uses Microsoft.Extensions.Logging.Abstractions as its structure. It doesn't actually write logs to anywhere or anything, for that you need a provider. Microsoft offers several providers include Console Output, Windows Events, et al. Serilog is just another provider.
-
Razor custom error page - set exception message in production?
You may need to enable logging, otherwise Activity will be null as described here. Regarding your exception message, you're not doing anything with the exceptionHandlerPathFeature object. The documentation you linked to shows some type checking with the is operator to produce an error.
attributed
Posts with mentions or reviews of attributed.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-01.
-
Serilog... why?
Have used this package quite a lot: https://github.com/destructurama/attributed
-
Logging sensitive data from requests/responses
You can use this Serilog extension library to mask any properties containing sensitive info: https://github.com/destructurama/attributed
What are some alternatives?
When comparing serilog-extensions-logging and attributed you can also consider the following projects:
serilog-aspnetcore - Serilog integration for ASP.NET Core
Serilog.Enrichers.Sensitive - A Serilog LogEvent enricher that masks sensitive data
Serilog.Exceptions - Log exception details and custom properties that are not output in Exception.ToString().
serilog-console-themes - Provides custom themes library for SeriLog
Serilog - Simple .NET logging with fully-structured events
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.