C# Logging

Open-source C# projects categorized as Logging

Top 23 C# Logging Projects

  • Serilog

    Simple .NET logging with fully-structured events

    Project mention: Reveal Data provider parameter values at run time | dev.to | 2023-02-03

    Add a Logger package, in this case SeriLog.

  • NLog

    NLog - Advanced and Structured Logging for Various .NET Platforms

    Project mention: Propper Logging in Unity | reddit.com/r/Unity3D | 2023-01-09

    I would like to use a proper logger like https://github.com/nlog/nlog

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • FASTER

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

    Project mention: GitHub - microsoft/FASTER: Fast persistent recoverable log and key-value store + cache, in C# and C++. | reddit.com/r/GodotCSharp | 2022-11-08
  • Exceptionless

    Exceptionless server and jobs

  • opentelemetry-dotnet

    The OpenTelemetry .NET Client

    Project mention: Guide to Distributed Tracing with OpenTelemetry Dotnet | dev.to | 2023-01-25

    💡Good to know -- If you wish to export traces to Jaeger, you should use the AddJaegerExporter instead of the AddOtlpExporter. Visit the opentelemetry-dotnet repository to see how it's done.

  • Foundatio

    Pluggable foundation blocks for building distributed apps.

  • splat

    Makes things cross-platform

    Project mention: Using MVVM in Flutter (2022) | dev.to | 2022-09-03

    This is a simple Service Locator for Dart and Flutter projects with some additional goodies highly inspired by Splat. It can be used instead of InheritedWidget or Provider to access objects e.g. from your UI.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • StackExchange.Exceptional

    Error handler used for the Stack Exchange network

  • Log4Net

    Mirror of This is the Apache log4net logging project git repository.

  • ApplicationInsights-dotnet

    ApplicationInsights-dotnet

    Project mention: Why do I only get warnings, if I introduce obvious ones myself? | reddit.com/r/dotnet | 2022-12-19

    Severity Code Description Project File Line Suppression State Priority Warning CS0618 'TelemetryConfiguration.InstrumentationKey.set' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.' disyanonymizer C:\Path 33 Active Normal

  • Exceptionless

    Exceptionless clients for the .NET platform

  • Sentry

    Sentry SDK for .NET

    Project mention: Sentry releases MAUI support preview 1 | reddit.com/r/dotnetMAUI | 2022-06-15

    Source code at: https://github.com/getsentry/sentry-dotnet

  • Serilog.Exceptions

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

    Project mention: Serilog... why? | reddit.com/r/dotnet | 2023-02-01

    So when we found this out, we rapidly rolled out Serilog.Exceptions that adds this in, and things were better

  • Hangfire.Console

    Job console extension for Hangfire

    Project mention: How to replace BackgroundServices with a lite Hangfire | dev.to | 2022-12-14

    Hangfire.Console to bring color to our lives

  • ELMAH

    Error Logging Modules & Handlers for ASP.NET

    Project mention: There is any OpenSource logger available for angular that provides a user interface also for viewing the logs like ELHMA? | reddit.com/r/angular | 2023-02-05
  • ZeroLog

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

  • Elmah MVC

    Painless integration of ELMAH into ASP.NET MVC application

  • serilog-sinks-mssqlserver

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

  • Analogy.LogViewer

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

  • NReco.Logging.File

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

    Project mention: What's you recommend for file/email based logging in .NET 6? | reddit.com/r/dotnet | 2022-07-16

    If you don't want to use heavy-weight logging frameworks, for files take a look to this minimalistic implementation: https://github.com/nreco/logging

  • cscore

    cscore is a minimal-footprint library providing commonly used helpers & patterns for your C# projects. It can be used in both pure C# and Unity projects. (by cs-util-com)

  • Sejil

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

  • Tracer

    Tracing rewriter using Fody (by csnemes)

    Project mention: Decorators in c#: Looking for HowTos | reddit.com/r/csharp | 2022-08-25

    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.

  • 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 2023-02-05.

C# Logging related posts

Index

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

Project Stars
1 Serilog 6,038
2 NLog 5,761
3 FASTER 5,435
4 Exceptionless 2,255
5 opentelemetry-dotnet 2,231
6 Foundatio 1,633
7 splat 898
8 StackExchange.Exceptional 847
9 Log4Net 708
10 ApplicationInsights-dotnet 501
11 Exceptionless 494
12 Sentry 443
13 Serilog.Exceptions 423
14 Hangfire.Console 375
15 ELMAH 295
16 ZeroLog 276
17 Elmah MVC 272
18 serilog-sinks-mssqlserver 209
19 Analogy.LogViewer 207
20 NReco.Logging.File 195
21 cscore 151
22 Sejil 110
23 Tracer 87
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com