Serilog.Sinks.AzureCosmosDB NuGet Package

A Serilog sink that writes to Azure CosmosDB and supports PartitionKey for better performance.

This code is based on serilog-sinks-azuredocumentdb and adapted to use the latest Microsof.Azure.Cosmos SDK version and uses a custom JsonSerializationSettings which helps to keep the sink alive when serialization fails sometimes specially for Exceptions!.




Got any Serilog.Sinks.AzureCosmosDB Question?





Info

Version: 2.0.0
Author(s): Serilog Contributors
Last Update: Monday, February 21, 2022
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/mahdighorbanpour/serilog-sinks-azurecosmosdb
NuGet Url: https://www.nuget.org/packages/Serilog.Sinks.AzureCosmosDB


Install
Install-Package Serilog.Sinks.AzureCosmosDB
dotnet add package Serilog.Sinks.AzureCosmosDB
paket add Serilog.Sinks.AzureCosmosDB
Serilog.Sinks.AzureCosmosDB Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

1.8

avg-downloads-per-day

12

days-since-last-release

1004