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. Learn more →
Top 23 C# Logging Projects
-
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.
-
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.
-
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)
-
Serilog.Exceptions
Log exception details and custom properties that are not output in Exception.ToString().
-
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)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
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.
Project mention: A MySQL compatible database engine written in pure Go | news.ycombinator.com | 2024-04-09You 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
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.
open-telemetry/opentelemetry-dotnet: The OpenTelemetry .NET Client (github.com)
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:
Project mention: How can I fix logger maximum destructuring reached error when using Serilog C#? | /r/csharp | 2023-05-11You 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.
C# Logging related posts
- Logging in .NET 8 with Serilog and Seq
- Serving a Website from a Git Repo Without Cloning It
- Help with matching Serilog with Regex
- Microsoft Entity Framework Core 8 samples
- Logging - How to configure Log Content?
- Using toast notifications in Windows Forms
- How to set up Serilog "Enrichers"?
-
A note from our sponsor - InfluxDB
www.influxdata.com | 26 Apr 2024
Index
What are some of the best open-source Logging projects in C#? This list will help you:
Project | Stars | |
---|---|---|
1 | Serilog | 6,938 |
2 | FASTER | 6,199 |
3 | NLog | 6,165 |
4 | opentelemetry-dotnet | 2,961 |
5 | Exceptionless | 2,366 |
6 | Foundatio | 1,909 |
7 | splat | 966 |
8 | StackExchange.Exceptional | 858 |
9 | Log4Net | 816 |
10 | WatchDog | 566 |
11 | Sentry | 562 |
12 | ApplicationInsights-dotnet | 556 |
13 | Exceptionless | 549 |
14 | Serilog.Exceptions | 478 |
15 | Hangfire.Console | 423 |
16 | ZeroLog | 378 |
17 | ELMAH | 304 |
18 | ULogViewer | 296 |
19 | Analogy.LogViewer | 273 |
20 | Elmah MVC | 267 |
21 | NReco.Logging.File | 266 |
22 | serilog-sinks-mssqlserver | 265 |
23 | Sejil | 176 |
Sponsored