C# Logging

Open-source C# projects categorized as Logging

Top 23 C# Logging Projects

  • Serilog

    Simple .NET logging with fully-structured events

    Project mention: Logging in .NET 8 with Serilog and Seq | dev.to | 2024-04-06

    To learn more about Serilog, you can visit the documentation on their GitHub project. To learn more about Seq, you can visit the documentation on their website.


    Fast persistent recoverable log and key-value store + cache, in C# and C++.

    Project mention: A MySQL compatible database engine written in pure Go | news.ycombinator.com | 2024-04-09

    You would be surprised by performance of modern .NET :)

    Writing no-alloc is oftentimes done by reducing complexity and not doing "stupid" tricks that actually work against JIT and CoreLib features.

    For databases specifically, .NET is actually positioned very well with its low-level features (intrisics incl. SIMD, FFI, struct generics though not entirely low-level) and high-throughput GC.

    Interesting example of this applied in practice is Garnet[0]/FASTER[1]. Keep in mind that its codebase still consist of un-idiomatic C# and you can do way better by further simplification, but it already does the job well enough.

    [0] https://github.com/microsoft/garnet

    [1] https://github.com/microsoft/FASTER

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • NLog

    NLog - Advanced and Structured Logging for Various .NET Platforms

    Project mention: Help with matching Serilog with Regex | /r/dotnet | 2023-12-10

    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.

  • opentelemetry-dotnet

    The OpenTelemetry .NET Client

    Project mention: ASP.NET Core: Monitoreo con OpenTelemetry y Grafana | dev.to | 2023-06-04

    open-telemetry/opentelemetry-dotnet: The OpenTelemetry .NET Client (github.com)

  • Exceptionless

    Exceptionless application

  • Foundatio

    Pluggable foundation blocks for building distributed apps.

  • splat

    Makes things cross-platform

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • StackExchange.Exceptional

    Error handler used for the Stack Exchange network

  • Log4Net

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

  • WatchDog

    WatchDog is a Realtime Message, Event, HTTP (Request & Response) and Exception logger and viewer for ASP.Net Core Web Apps and APIs. It allows developers log and view messages, events, http requests made to their web application and also exception caught during runtime in their web applications, all in Realtime. (by IzyPro)

  • Sentry

    Sentry SDK for .NET

  • ApplicationInsights-dotnet


    Project mention: Prevent .NET Application Insights telemetry loss | dev.to | 2023-05-16

    Since April 22, 2021, you can use the new TelemetryClient.FlushAsync() task-based API with a custom IHostedService to ensure that you don't lose any telemetry data:

  • Exceptionless

    Exceptionless clients for the .NET platform

  • Serilog.Exceptions

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

    Project mention: How can I fix logger maximum destructuring reached error when using Serilog C#? | /r/csharp | 2023-05-11

    You might also wanna check out Serilog.Exceptions if not already using it. I think that they have some examples of how you could intercept these yourself.

  • Hangfire.Console

    Job console extension for Hangfire

  • ZeroLog

    A high-performance, zero-allocation .NET logging library. (by Abc-Arbitrage)


    Error Logging Modules & Handlers for ASP.NET

  • ULogViewer

    Cross-Platform Universal Log Viewer.

  • Analogy.LogViewer

    A customizable Log Viewer with ability to create custom providers. Can be used with C#, C++, Python, Java and others

  • Elmah MVC

    Painless integration of ELMAH into ASP.NET MVC application

  • NReco.Logging.File

    Generic file logger for .NET Core (FileLoggerProvider) with minimal dependencies (by nreco)

  • serilog-sinks-mssqlserver

    A Serilog sink that writes events to Microsoft SQL Server and Azure SQL

  • Sejil

    Capture, view and filter your ASP.net core log events right from your app

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-04-09.

C# Logging related posts


What are some of the best open-source Logging projects in C#? This list will help you:

Project Stars
1 Serilog 6,911
2 FASTER 6,175
3 NLog 6,154
4 opentelemetry-dotnet 2,941
5 Exceptionless 2,362
6 Foundatio 1,904
7 splat 964
8 StackExchange.Exceptional 856
9 Log4Net 814
10 WatchDog 562
11 Sentry 559
12 ApplicationInsights-dotnet 555
13 Exceptionless 548
14 Serilog.Exceptions 476
15 Hangfire.Console 422
16 ZeroLog 377
17 ELMAH 304
18 ULogViewer 291
19 Analogy.LogViewer 269
20 Elmah MVC 267
21 NReco.Logging.File 265
22 serilog-sinks-mssqlserver 262
23 Sejil 170
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives