FridayDeploy.Serilog 1.0.0

dotnet add package FridayDeploy.Serilog --version 1.0.0
                    
NuGet\Install-Package FridayDeploy.Serilog -Version 1.0.0
                    
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="FridayDeploy.Serilog" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FridayDeploy.Serilog" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="FridayDeploy.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 FridayDeploy.Serilog --version 1.0.0
                    
#r "nuget: FridayDeploy.Serilog, 1.0.0"
                    
#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.
#:package FridayDeploy.Serilog@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FridayDeploy.Serilog&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=FridayDeploy.Serilog&version=1.0.0
                    
Install as a Cake Tool

FridayDeploy.Serilog

A Serilog sink for FridayDeploy — async, batched, gzip-compressed, retrying HTTP log shipping with local spooling so no logs are lost.

Usage

Log.Logger = new LoggerConfiguration()
    .WriteTo.FridayDeploy(options =>
    {
        options.ServerUrl = "https://logs.company.com";
        options.ApiKey = "YOUR_API_KEY";
    })
    .CreateLogger();

Features

  • Non-blocking, async logging via an in-process background queue
  • Automatic batching by size and time (BatchSizeLimit, FlushInterval)
  • Gzip-compressed payloads
  • Exponential backoff retries (MaxRetryAttempts, RetryBaseDelay, RetryMaxDelay)
  • Local disk spooling of undelivered batches, resent automatically once the server is reachable again
  • Graceful shutdown — in-flight and queued events are flushed on Log.CloseAndFlush()
  • Automatic capture of Application, Environment, Version, Machine, ThreadId, ProcessId, plus RequestId, CorrelationId, SourceContext, UserId, and any custom ForContext(...) properties

Works alongside other Serilog enrichers

The sink is a plain ILogEventSink — it composes with any other enricher in your pipeline (Serilog.Enrichers.Environment, .Process, .Thread, .AssemblyName, Serilog.Exceptions, etc.):

Log.Logger = new LoggerConfiguration()
    .Enrich.FromLogContext()
    .Enrich.WithEnvironmentUserName()
    .Enrich.WithProcessId()
    .Enrich.WithThreadId()
    .Enrich.WithExceptionDetails()
    .Enrich.WithProperty("Service", "MyApp.Api")
    .WriteTo.FridayDeploy(options => { /* ... */ })
    .CreateLogger();

A few things worth knowing:

  • If an enricher sets MachineName or ProcessId, the sink uses that value instead of its own best-effort capture — enricher wins.
  • Every other enriched property (e.g. ProcessName, ThreadName, AssemblyVersion, custom ForContext/WithProperty values) is sent through as-is and is fully searchable in the FridayDeploy UI's property explorer and query language.
  • Serilog.Exceptions' WithExceptionDetails() adds a large nested ExceptionDetails object (and similar deeply-nested/array properties are handled the same way) — FridayDeploy stores the full structure in the log's raw JSON (visible on the Log Details page) but summarizes it in the flat property list (e.g. {…8 properties…}) rather than indexing the whole blob as a single filterable value.
  • WithDemystifiedStackTraces() needs no special handling — the sink reads Exception.StackTrace directly, so it already reflects the demystified version.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 111 8/16/2026