Sentry.NLog 3.5.0

Official NLog integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package Sentry.NLog -Version 3.5.0
dotnet add package Sentry.NLog --version 3.5.0
<PackageReference Include="Sentry.NLog" Version="3.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sentry.NLog --version 3.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sentry.NLog, 3.5.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sentry.NLog as a Cake Addin
#addin nuget:?package=Sentry.NLog&version=3.5.0

// Install Sentry.NLog as a Cake Tool
#tool nuget:?package=Sentry.NLog&version=3.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

<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
line count
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.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

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

<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
line count
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.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

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

Release Notes

Changes since version 3.4.0

Features:
- Report user IP address for ASP.NET Core ([#1045](https://github.com/getsentry/sentry-unity/pull/1045))

Fixes:
- Connect middleware exceptions to transactions ([#1043](https://github.com/getsentry/sentry-dotnet/pull/1043))
- Hub.IsEnabled set to false when Hub disposed ([#1021](https://github.com/getsentry/sentry-dotnet/pull/1021))
-->
     See full changelog at https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md

  • .NETFramework 4.6.1

  • .NETStandard 2.0

  • .NETStandard 2.1

  • net5.0

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Sentry.NLog:

Package Downloads
GR.Logger
Package Description

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Sentry.NLog:

Repository Stars
dotnetzoom/AspNetCore-WebApi-Course
Professional REST API design with ASP.NET Core 3.1 WebAPI
ShokoAnime/ShokoServer
Repository for Shoko Server.
Milkitic/Osu-Player
A multifunctional media player for osu and osuer. Modern interface with WPF.

Version History

Version Downloads Last updated
3.6.0-alpha.1 19 6/11/2021
3.5.0 169 6/7/2021
3.4.0 476 5/31/2021
3.4.0-beta.0 40 5/27/2021
3.3.5-beta.0 55 5/13/2021
3.3.4 3,704 4/26/2021
3.3.3 87 4/23/2021
3.3.2 141 4/23/2021
3.3.1 3,257 4/5/2021
3.3.0 217 4/3/2021
3.2.0 1,028 3/26/2021
3.1.0 4,772 3/10/2021
3.0.8 1,016 3/4/2021
3.0.7 2,085 2/20/2021
3.0.6 2,207 2/14/2021
3.0.5 1,363 2/9/2021
3.0.4 197 2/8/2021
3.0.3 537 2/3/2021
3.0.2 131 2/3/2021
3.0.1 3,975 1/29/2021
3.0.0 174 1/28/2021
3.0.0-beta.0 83 1/20/2021
3.0.0-alpha.11 77 1/15/2021
3.0.0-alpha.10 215 1/10/2021
3.0.0-alpha.9 71 12/29/2020
3.0.0-alpha.8 224 12/25/2020
3.0.0-alpha.7 191 12/16/2020
3.0.0-alpha.6 125 11/30/2020
3.0.0-alpha.5 132 11/21/2020
3.0.0-alpha.4 378 11/2/2020
3.0.0-alpha.3 96 10/29/2020
3.0.0-alpha.2 118 10/21/2020
3.0.0-alpha.1 138 10/16/2020
3.0.0-alpha.0 155 9/25/2020
2.2.0-alpha 268 9/19/2020
2.1.8 34,652 11/21/2020
2.1.6 42,469 8/20/2020
2.1.5 2,840 7/27/2020
2.1.5-beta 230 6/30/2020
2.1.4 15,677 6/25/2020
2.1.3 5,580 6/5/2020
2.1.2-beta5 181 5/19/2020
2.1.2-beta4 151 5/12/2020
2.1.2-beta3 165 5/7/2020
2.1.2-beta2 239 4/16/2020
2.1.2-beta 209 3/31/2020
2.1.1 41,644 3/19/2020
2.1.0 12,674 2/24/2020
2.0.3 55,213 2/12/2020
2.0.2 578 2/8/2020
2.0.1 24,728 1/28/2020
2.0.0 281 1/28/2020
2.0.0-beta8 993 1/15/2020
2.0.0-beta7 480 12/17/2019
2.0.0-beta6 23,300 10/31/2019
2.0.0-beta5 565 10/29/2019
2.0.0-beta4 271 9/4/2019
2.0.0-beta3 428 7/26/2019
2.0.0-beta2 266 6/9/2019
2.0.0-beta 256 6/4/2019
1.2.1-beta 227 5/27/2019
1.2.0 76,172 5/23/2019
1.1.3-beta4 243 5/15/2019
1.1.3-beta3 289 5/13/2019