Question: is there much difference/lacking features of the Serilog.Sentry library (vs main Sentry SDK)?
See original GitHub issueG’Day 👋🏻 !
With the Sentry.Serilog
library, is there much features missing … versus using the main Sentry
library?
Context: I prefer to pass ILogger<T>
all around my application. In my ConfigureServices
, I would prefer to just setup Serilog and then log whatever to wherever, via sinks, like Sentry.Serilog
.
So if I get an error, I would then log that to Sentry.
Is it safe to assume that the data which is logged to sentry via the Serilog sink is pretty much feature rich as manually using the Serilog library? Like, rich exception information, etc?
Or in other words, if I use the Sentry.Serilog
library, I would be missing out of the following pieces of data:
<something>
<another thing>
- etc.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
is there much difference/lacking features of the Serilog. ...
Question : is there much difference/lacking features of the Serilog.Sentry library (vs main Sentry SDK)?
Read more >Serilog | Sentry Documentation
This package extends Sentry main SDK. That means that besides the logging related features, through this package you'll also get access to all...
Read more >Sentry vs Serilog | LibHunt - Awesome .NET
A no-nonsense logging library for the NoSQL era. Combines the best of traditional and structured diagnostic logging in an easy-to-use package.
Read more >Serilog Sentry "global" breadcrumbs in .NET C# windows ...
Breadcrumbs track things that happened, such as "window opened" or "button clicked". They are useful to produce a timeline of activity ...
Read more >Sentry.Serilog 3.35.1
Official Serilog integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great - created an issue (in preparation for a PR) to test this stuff out, etc.
We could move default tags to
SentryOptions
so all integrations could leverage.It always had it, but before 2.1.8, on ASP.NET Core (with the scope locked) it didn’t keep the values. See #594
Serilog does some funny stuff with ASP.NET Core with regards to logging backend. I see the Sink itself adds some Serilog properties stuff as Extra: https://github.com/getsentry/sentry-dotnet/blob/e17703a77a4a5f20b44f233ecfa4e937d42542f8/src/Sentry.Serilog/SentrySink.cs#L109
I suggest trying stuff out though.