VOOZH about

URL: https://www.nuget.org/packages/Rebus.Serilog/

⇱ NuGet Gallery | Rebus.Serilog 8.1.0




👁 Image
Rebus.Serilog 8.1.0

dotnet add package Rebus.Serilog --version 8.1.0
 
 
NuGet\Install-Package Rebus.Serilog -Version 8.1.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="Rebus.Serilog" Version="8.1.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rebus.Serilog" Version="8.1.0" />
 
Directory.Packages.props
<PackageReference Include="Rebus.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 Rebus.Serilog --version 8.1.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rebus.Serilog, 8.1.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 Rebus.Serilog@8.1.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=Rebus.Serilog&version=8.1.0
 
Install as a Cake Addin
#tool nuget:?package=Rebus.Serilog&version=8.1.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Rebus.Serilog

👁 install from nuget

Provides a Serilog logging integration for Rebus.

👁 alternate text is missing from this package README image


Do it like this if you just want Rebus to use your global Serilog logger directly:

Configure.With(...)
	.Logging(l => l.Serilog())
	.Transport(t => t.Use(...))
	.(...)
	.Start();

or like this if you want to customize it:

var logger = Log.ForContext("queue", queueName);

Configure.With(...)
	.Logging(l => l.Serilog(logger))
	.Transport(t => t.Use(..., queueName))
	.(...)
	.Start();

Initialize your Serilog logging with Rebus' correlation ID enricher if you'd like the correlation ID of handled messages to be added automatically to all log output generated from message handlers:

Log.Logger = new LoggerConfiguration()
 .WriteTo.(...)
 .Enrich.WithRebusCorrelationId("CorrelationId")
 .CreateLogger();

and then either use real structured logging (e.g. to an aggregator like Elastic), or remember to include it in your output template (here shown with ColoredConsole):

// 👇
Log.Logger = new LoggerConfiguration()
	.WriteTo.ColoredConsole(outputTemplate: "{Timestamp:HH:mm:ss} {Level:u3} ({CorrelationId}) {Message}{NewLine}{Exception}")
	.(...)
Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 was computed. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

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

Package Downloads
Fans.DependencyInjection

Package Description

Rebus.AzureServiceBus.RebusPerQueueTopic

Rebus.AzureServiceBus rewrite enabling us following: 1- Minimal usage for topic/queues even in one-way/two-way communication between Rebus/Masstransit libraries 2- Skipped implementation of Sagas, this library is working statelessly. 3- Each topic/queue subscription is living on its own Rebus instance 4- Health checking of each topic/queue subscription 5- Full control on Queue/Topic/Topic Subscription naming 6- For development environment you have an option of: you can prefix all queue/topic names starting with the machine name; this enables me to seperate my queues and application from another guy working on the same project since my queues are created like "oguzhan/queue1" whereas the other guy's "otherguy/queue1" 7- For topic subscribing, you have the option of whether you will need multiple node subscription or not. If enabled, for topic "Topic1" and subscription name of "sub", it will create "Topic1/sub-node1" whereas "node1" is the docker container name. 8- In masstransit you have the limitation of each message is transported with its full namespace. If you move its namespace or change class name, MT will not consume the message. This was an annoying issue for all of us in the company. We are free from this issue thanks to Rebus. 9- Brotli compression of transport message body, so expanding default 256kb limitation of Azure Servicebus to many more.

Vedaantees.Framework.Providers

Providers implementation for the framework.

SuperiorAcumaticaPackage

Dependencies required to compile the SuperiorAcumaticaSolution for Acumatica 2026 R1 Build 26.100.0175

GAPD.Common.Event

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Rebus.Serilog:

Repository Stars
rebus-org/RebusSamples
Small sample projects
Version Downloads Last Updated
8.1.0 1,821,991 8/17/2025
8.0.0 4,635,137 11/15/2023
8.0.0-alpha02 2,003 8/2/2023
8.0.0-alpha01 844 3/29/2023
7.0.0 2,625,221 2/1/2022
6.0.0 1,440,386 2/11/2020
5.0.0 562,245 10/8/2018
4.0.0 2,537,220 8/15/2017
4.0.0-b04 2,136 5/18/2017
4.0.0-b03 1,291 5/15/2017
4.0.0-b02 1,276 3/21/2017
4.0.0-b01 1,236 3/21/2017
3.0.0 30,787 1/5/2017
2.0.0 5,498 9/20/2016
2.0.0-b02 1,282 9/12/2016
2.0.0-b01 1,287 9/9/2016
2.0.0-a2 1,263 9/6/2016
2.0.0-a1 1,294 9/1/2016
0.99.74 4,258 8/29/2016
0.99.73 3,114 8/12/2016
Loading failed