Sentry.Serilog 3.9.3

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Sentry.Serilog --version 3.9.3
                    
NuGet\Install-Package Sentry.Serilog -Version 3.9.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sentry.Serilog" Version="3.9.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sentry.Serilog" Version="3.9.3" />
                    
Directory.Packages.props
<PackageReference Include="Sentry.Serilog" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sentry.Serilog --version 3.9.3
                    
#r "nuget: Sentry.Serilog, 3.9.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Sentry.Serilog&version=3.9.3
                    
Install as a Cake Addin
#tool nuget:?package=Sentry.Serilog&version=3.9.3
                    
Install as a Cake Tool

<p align="center"> <a href="https://sentry.io" target="_blank"> <img src="https://raw.githubusercontent.com/getsentry/sentry-dotnet/main/.assets/sentry-logo.png" alt="Sentry logo" width="280"> </a> </p>

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us <kbd>Check out our open positions</kbd>

Sentry SDK for .NET

build codecov Discord Chat

Integrations Downloads NuGet Stable NuGet Preview Documentation
Sentry Downloads NuGet NuGet Documentation
Sentry.Extensions.Logging Downloads NuGet NuGet Documentation
Sentry.AspNetCore Downloads NuGet NuGet Documentation
Sentry.AspNetCore.Grpc Downloads NuGet NuGet Documentation
Sentry.Google.Cloud.Functions Downloads NuGet NuGet Documentation
Sentry.AspNet Downloads NuGet NuGet Documentation
Sentry.EntityFramework Downloads NuGet NuGet Documentation
Sentry.Serilog Downloads NuGet NuGet Documentation
Sentry.Log4Net Downloads NuGet NuGet Documentation
Sentry.NLog Downloads NuGet NuGet Documentation
Sentry.DiagnosticSource Downloads NuGet NuGet Documentation

More Sentry .NET Integrations

Sentry offers other integrations that are not part of this repository:

  • Sentry.Minidump: Capture Minidumps on Windows, macOS and Linux.
  • Sentry.Xamarin: Xamarin native and Xamarin.Forms integration to get device data, breadcrumbs, and more.

Looking for something else? Let us know by raising an issue.

Documentation

Each NuGet package in the table above has its custom view of the docs. Click on the badge to find the best documentation for your use case.

Sentry has extensive documentation for its SDKs on https://docs.sentry.io. The .NET API (DocFX) is generated on each merge to main and pushed to GitHub pages Documentation.

Samples

Consider taking a look at the samples directory for different types of apps and example usages of the SDK.

Looking for more samples? Check out this repository.

Compatibility

The packages target .NET Standard 2.0 and .NET Framework 4.6.1. That means it is compatible with the following versions or newer:

  • .NET Framework 4.6.1
  • .NET Core 2.0
  • Mono 5.4
  • Xamarin.Android 8.0
  • Xamarin.Mac 3.8
  • Xamarin.iOS 10.14
  • Universal Windows Platform 10.0.16299

Of those, we've tested (we run our unit/integration tests) against:

  • .NET Framework 4.8 on Windows
  • Mono 6.6 on macOS and Linux
  • .NET Core 2.1 on Windows, macOS and Linux
  • .NET Core 3.1 on Windows, macOS and Linux
  • .NET 5 on Windows, macOS and Linux

Sentry Protocol

For more details, please: refer to the documentation

Legacy frameworks

Sentry's Raven SDK, battle tested with over 3.500.000 downloads on NuGet has support to .NET Framework 3.5+ and is compatible with all versions of Sentry including sentry.io.

Resources

  • Documentation
  • Forum
  • Discord Chat
  • Stack Overflow
  • Twitter Follow
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (29)

Showing the top 5 NuGet packages that depend on Sentry.Serilog:

Package Downloads
Intility.Extensions.Logging.Sentry

Enable Sentry instrumentation and logging provider.

invoisys.SDK.Logging

Package Description

Miki.Logging

Package Description

Serilog.Sinks.SentrySDK

A Sentry sink for Serilog

Only.CoffeeFace.Web

Only.CoffeeFace web api stuff

GitHub repositories (13)

Showing the top 13 popular GitHub repositories that depend on Sentry.Serilog:

Repository Stars
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
BililiveRecorder/BililiveRecorder
录播姬 | mikufans 生放送录制
timschneeb/GalaxyBudsClient
Unofficial Galaxy Buds Manager for Windows, macOS, Linux, and Android
Belphemur/SoundSwitch
C# application to switch default playing device. Download: https://soundswitch.aaflalo.me/
yourtablecloth/TableCloth
식탁보 프로젝트
domialex/Sidekick
A Path of Exile helper
meysamhadeli/booking-modular-monolith
Practical Modular Monolith, built with .Net 9, DDD, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
dragonfruitnetwork/onionfruit
OnionFruit™ - Connect to the Tor network with minimal effort
LeonKou/NetPro
🌈An enhanced version with clean architecture of asp.netcore,efficiently manage startup,Support for netcore3.1/6.0
supermemo/SuperMemoAssistant
A companion app for SuperMemo 17-18 which extends its functionalities through plugins.
dotnet/nuget-trends
Check out NuGet packages adoption and what's trending on NuGet.
nullpainter/sanchez
False-colour geostationary satellite image compositor
getsentry/examples
Collection of all different kinds of Sentry SDKs and integrations
Version Downloads Last Updated
5.11.2 22,030 6/25/2025
5.11.1 7,936 6/21/2025
5.11.0 4,015 6/19/2025
5.11.0-alpha.3 175 6/13/2025
5.11.0-alpha.1 176 6/7/2025
5.10.0 48,800 6/6/2025
5.9.0 17,340 5/30/2025
5.8.2-beta.1 137 5/29/2025
5.8.1 9,421 5/27/2025
5.8.0 29,292 5/21/2025
5.8.0-alpha.0 124 5/22/2025
5.7.0 46,938 5/13/2025
5.7.0-beta.0 263 5/2/2025
5.6.0 82,451 4/24/2025
5.5.1 100,467 4/8/2025
5.5.0 25,320 4/2/2025
5.4.0 93,514 3/15/2025
5.3.0 98,315 3/7/2025
5.2.0 68,621 2/26/2025
5.1.1 78,956 2/13/2025
5.1.0 181,008 2/3/2025
5.0.1 215,982 1/8/2025
5.0.0 269,720 12/19/2024
5.0.0-alpha.1 2,042 11/25/2024
5.0.0-alpha.0 73 11/24/2024
4.13.0 582,278 11/5/2024
4.12.2 34,720 11/2/2024
4.12.1 284,497 10/10/2024
4.12.1-segv1 112 11/1/2024
4.12.0 100,599 10/2/2024
4.11.0 174,011 9/22/2024
4.10.2 458,814 8/21/2024
4.10.1 123,912 8/16/2024
4.10.0 8,963 8/14/2024
4.9.0 409,030 7/11/2024
4.9.0-sync.collection.2 88 7/30/2024
4.9.0-sync.collection.1 74 7/30/2024
4.8.1 94,615 7/2/2024
4.8.0 53,872 6/26/2024
4.7.0 338,881 5/27/2024
4.6.2 96,063 5/14/2024
4.6.1 1,326 5/14/2024
4.6.0 42,779 5/9/2024
4.5.0 122,532 4/30/2024
4.4.0 134,570 4/12/2024
4.3.0 26,222 4/10/2024
4.2.1 333,091 3/12/2024
4.2.0 17,847 3/11/2024
4.1.2 332,225 2/20/2024
4.1.1 99,448 2/14/2024
4.1.0 48,557 2/9/2024
4.0.3 32,700 2/7/2024
4.0.2 10,879 2/6/2024
4.0.1 5,438 2/5/2024
4.0.0 46,137 2/1/2024
4.0.0-beta.9 536 1/30/2024
4.0.0-beta.8 302 1/11/2024
4.0.0-beta.7 119 1/5/2024
4.0.0-beta.6 1,700 12/13/2023
4.0.0-beta.5 124 12/12/2023
4.0.0-beta.4 211 12/5/2023
4.0.0-beta.3 168 12/2/2023
4.0.0-beta.2 685 11/23/2023
4.0.0-beta.1 215 11/19/2023
4.0.0-beta.0 294 11/17/2023
4.0.0-alpha.0 147 11/9/2023
3.41.4 466,010 1/23/2024
3.41.3 589,190 11/29/2023
3.41.2 202,135 11/23/2023
3.41.1 9,779 11/22/2023
3.41.0 265,951 11/8/2023
3.40.1 200,708 10/12/2023
3.40.0 18,366 10/10/2023
3.40.0-beta.0 2,452 9/21/2023
3.39.1 1,450,491 9/12/2023
3.39.0 41,703 9/7/2023
3.37.0 4,677 9/6/2023
3.36.0 155,256 8/22/2023
3.35.1 58,035 8/16/2023
3.35.0 43,442 8/8/2023
3.34.0 381,655 7/13/2023
3.33.1 400,173 6/13/2023
3.33.0 283,112 5/22/2023
3.32.0 5,496 5/22/2023
3.31.0 286,493 5/2/2023
3.30.0 475,276 4/11/2023
3.29.1 333,775 3/11/2023
3.29.0 63,930 3/6/2023
3.28.1 358,939 2/10/2023
3.28.0 36,297 2/8/2023
3.27.1 135,438 2/3/2023
3.27.0 50,245 2/1/2023
3.26.2 338,010 1/24/2023
3.26.1 54,483 1/17/2023
3.26.0 44,222 1/13/2023
3.25.0 571,627 12/23/2022
3.24.1 199,284 12/16/2022
3.24.0 860,349 11/18/2022
3.23.1 306,524 10/31/2022
3.23.0 44,506 10/27/2022
3.22.0 279,365 10/7/2022
3.21.0 281,717 9/2/2022
3.20.1 878,907 7/26/2022
3.20.0 8,486 7/22/2022
3.19.0 427,791 6/28/2022
3.18.0 153,528 6/15/2022
3.17.1 556,092 5/8/2022
3.17.0 38,338 5/3/2022
3.16.0 447,425 4/7/2022
3.15.0 367,303 3/15/2022
3.14.1 312,426 2/18/2022
3.14.0 105,881 2/14/2022
3.13.0 593,485 1/11/2022
3.12.3 274,836 12/19/2021
3.12.2 20,306 12/15/2021
3.12.1 89,606 12/6/2021
3.12.0 129,687 11/23/2021
3.12.0-alpha.1 711 11/7/2021
3.11.1 374,498 11/5/2021
3.11.0 104,614 11/2/2021
3.10.0 197,661 10/15/2021
3.9.4 133,405 9/29/2021
3.9.3 58,751 9/21/2021
3.9.2 56,040 9/10/2021
3.9.1 4,275 9/9/2021
3.9.0 69,209 8/27/2021
3.8.3 208,402 7/25/2021
3.8.2 47,646 7/17/2021
3.8.1 6,596 7/15/2021
3.8.0 28,784 7/14/2021
3.7.0 78,137 7/10/2021
3.6.1 47,344 7/2/2021
3.6.0 63,701 6/23/2021
3.6.0-alpha.2 247 6/18/2021
3.6.0-alpha.1 245 6/11/2021
3.5.0 285,394 6/7/2021
3.4.0 31,463 5/31/2021
3.4.0-beta.0 241 5/27/2021
3.3.5-beta.0 304 5/13/2021
3.3.4 279,662 4/26/2021
3.3.3 2,105 4/23/2021
3.3.2 2,775 4/23/2021
3.3.1 324,107 4/5/2021
3.3.0 3,286 4/3/2021
3.2.0 29,753 3/26/2021
3.1.0 59,643 3/10/2021
3.0.8 25,771 3/4/2021
3.0.7 107,932 2/20/2021
3.0.6 30,073 2/14/2021
3.0.5 15,721 2/9/2021
3.0.4 17,616 2/8/2021
3.0.3 26,524 2/3/2021
3.0.2 4,573 2/3/2021
3.0.1 20,203 1/29/2021
3.0.0 13,688 1/28/2021
3.0.0-beta.0 481 1/20/2021
3.0.0-alpha.11 302 1/15/2021
3.0.0-alpha.10 63,291 1/10/2021
3.0.0-alpha.9 293 12/29/2020
3.0.0-alpha.8 3,907 12/25/2020
3.0.0-alpha.7 596 12/16/2020
3.0.0-alpha.6 332 11/30/2020
3.0.0-alpha.5 339 11/21/2020
3.0.0-alpha.4 517 11/2/2020
3.0.0-alpha.3 305 10/29/2020
3.0.0-alpha.2 314 10/21/2020
3.0.0-alpha.1 334 10/16/2020
3.0.0-alpha.0 430 9/25/2020
2.2.0-alpha 769 9/19/2020
2.1.8 855,230 11/21/2020
2.1.6 806,842 8/20/2020
2.1.5 253,983 7/27/2020
2.1.5-beta 626 6/30/2020
2.1.4 130,975 6/25/2020
2.1.3 142,064 6/5/2020
2.1.2-beta5 1,351 5/19/2020
2.1.2-beta4 1,947 5/12/2020
2.1.2-beta3 794 5/7/2020
2.1.2-beta2 1,669 4/16/2020
2.1.2-beta 623 3/31/2020
2.1.1 576,204 3/19/2020
2.1.0 392,781 2/24/2020
2.0.3 37,510 2/12/2020
2.0.2 13,646 2/8/2020
2.0.1 99,282 1/28/2020
2.0.0 1,443 1/28/2020
2.0.0-beta8 838 1/15/2020
2.0.0-beta7 82,033 12/17/2019
2.0.0-beta6 7,008 10/31/2019
2.0.0-beta5 558 10/29/2019
2.0.0-beta4 9,909 9/4/2019
2.0.0-beta3 886 7/26/2019
2.0.0-beta2 1,307 6/9/2019
2.0.0-beta 579 6/4/2019
1.2.1-beta 565 5/27/2019
1.2.0 533,268 5/23/2019
1.1.3-beta4 651 5/15/2019
1.1.3-beta3 549 5/13/2019
1.1.3-beta2 581 3/28/2019
1.1.3-beta 639 2/11/2019
1.1.2 104,859 1/16/2019
1.1.2-beta 674 1/8/2019
1.1.1 2,069 1/5/2019
1.1.0 20,856 12/5/2018
1.0.1-beta5 664 12/5/2018
1.0.1-beta4 698 12/3/2018

Changes since version 3.9.2

Fixes:
- Add missing PathBase from ASP.NET Core ([#1198](https://github.com/getsentry/sentry-dotnet/pull/1198))
- Use fallback if route pattern is MVC ([#1188](https://github.com/getsentry/sentry-dotnet/pull/1188))
- Move UseSentryTracing to different namespace ([#1200](https://github.com/getsentry/sentry-dotnet/pull/1200))
- Prevent duplicate package reporting ([#1197](https://github.com/getsentry/sentry-dotnet/pull/1197))
-->
     See full changelog at https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md