serilog-extensions-logging VS Serilog

Compare serilog-extensions-logging vs Serilog and see what are their differences.

serilog-extensions-logging

Serilog provider for Microsoft.Extensions.Logging (by serilog)

Serilog

Simple .NET logging with fully-structured events (by serilog)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
serilog-extensions-logging Serilog
3 55
302 6,938
1.0% 1.4%
7.0 7.0
27 days ago 5 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.

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)?
    1 project | /r/dotnet | 6 Jun 2023
    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?
    6 projects | /r/dotnet | 1 Feb 2023
    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?
    1 project | /r/dotnet | 15 Dec 2021
    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.

Serilog

Posts with mentions or reviews of Serilog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-06.

What are some alternatives?

When comparing serilog-extensions-logging and Serilog you can also consider the following projects:

serilog-aspnetcore - Serilog integration for ASP.NET Core

NLog - NLog - Advanced and Structured Logging for Various .NET Platforms

attributed - Use attributes to control how complex types are logged to Serilog.

Log4Net - Apache Log4net is a versatile, feature-rich, efficient logging API and backend for .NET

Serilog.Exceptions - Log exception details and custom properties that are not output in Exception.ToString().

ELMAH - Error Logging Modules & Handlers for ASP.NET

serilog-console-themes - Provides custom themes library for SeriLog

Sentry - Sentry SDK for .NET

.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

opentelemetry-specification - Specifications for OpenTelemetry

Semantic Logging Application Block (SLAB) - Supporting semantic/structured logging for .NET

serilog-ui - Simple Serilog log viewer UI for several sinks.