# Serilog.Sinks.SentrySDK

> Sink Serilog qui envoie les événements vers Sentry via le SDK Sentry.

- Page HTML: https://antoineboucher.info/CV/blog/fr/projects/serilog.sinks.sentrysdk/
- Langue: fr
- Traduction (en): https://antoineboucher.info/CV/blog/projects/serilog.sinks.sentrysdk/index.md
- Publié: 2021-09-06
- Mis à jour: 2021-09-06
- Tags: Serilog, Sentry, SentrySDK
- Auteur: Antoine Boucher (https://antoineboucher.info/CV/index-en.html)# Serilog.Sinks.SentrySDK

Sink Serilog qui envoie les événements vers Sentry via le SDK officiel.

S’inspire de [serilog-contrib/serilog-sinks-sentry](https://github.com/serilog-contrib/serilog-sinks-sentry).

## État du projet

[![.NET Core Test](https://github.com/antoinebou12/Serilog.Sinks.SentrySDK/actions/workflows/tests.yml/badge.svg)](https://github.com/antoinebou12/Serilog.Sinks.SentrySDK/actions/workflows/tests.yml)
[![.NET Core CI](https://github.com/antoinebou12/Serilog.Sinks.SentrySDK/actions/workflows/CI.yml/badge.svg)](https://github.com/antoinebou12/Serilog.Sinks.SentrySDK/actions/workflows/CI.yml)
[![CodeQL](https://github.com/antoinebou12/Serilog.Sinks.SentrySDK/actions/workflows/codeql.yml/badge.svg)](https://github.com/antoinebou12/Serilog.Sinks.SentrySDK/actions/workflows/codeql.yml)
[![codecov](https://codecov.io/gh/antoinebou12/Serilog.Sinks.SentrySDK/branch/main/graph/badge.svg?token=DKLJUGCpI4)](https://codecov.io/gh/antoinebou12/Serilog.Sinks.SentrySDK)

## Paquets NuGet

|                                    | Paquet                                                                            | NuGet                                                                                                                                                 |
| ---------------------------------- | --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Serilog.Sinks.SentrySDK            | [Lien](https://www.nuget.org/packages/Serilog.Sinks.SentrySDK/)                    | [![NuGet](https://img.shields.io/nuget/v/Serilog.Sinks.SentrySDK.svg)](https://www.nuget.org/packages/Serilog.Sinks.SentrySDK/)                       |
| Serilog.Sinks.SentrySDK.AspNetCore | [Lien](https://www.nuget.org/packages/Serilog.Sinks.SentrySDK.AspNetCore/)         | [![NuGet](https://img.shields.io/nuget/v/Serilog.Sinks.SentrySDK.AspNetCore.svg)](https://www.nuget.org/packages/Serilog.Sinks.SentrySDK.AspNetCore/) |

## Installation et configuration

Exemples `dotnet add package`, configuration dans `Program.cs` / `appsettings.json`, et options avancées : voir le [README en anglais](https://github.com/antoinebou12/Serilog.Sinks.SentrySDK) sur GitHub.
