Rebus.Serilog
8.0.0
dotnet add package Rebus.Serilog --version 8.0.0
NuGet\Install-Package Rebus.Serilog -Version 8.0.0
<PackageReference Include="Rebus.Serilog" Version="8.0.0" />
paket add Rebus.Serilog --version 8.0.0
#r "nuget: Rebus.Serilog, 8.0.0"
// Install Rebus.Serilog as a Cake Addin #addin nuget:?package=Rebus.Serilog&version=8.0.0 // Install Rebus.Serilog as a Cake Tool #tool nuget:?package=Rebus.Serilog&version=8.0.0
Rebus.Serilog
Provides a Serilog logging integration for Rebus.
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 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
NuGet packages (7)
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. |
|
GAPD.Common.Event
Package Description |
|
Bk.Rebus.EventBus
Common Rebus Configurations |
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.0.0 | 433,792 | 11/15/2023 |
8.0.0-alpha02 | 1,847 | 8/2/2023 |
8.0.0-alpha01 | 660 | 3/29/2023 |
7.0.0 | 2,117,942 | 2/1/2022 |
6.0.0 | 1,345,549 | 2/11/2020 |
5.0.0 | 550,312 | 10/8/2018 |
4.0.0 | 342,793 | 8/15/2017 |
4.0.0-b04 | 1,687 | 5/18/2017 |
4.0.0-b03 | 860 | 5/15/2017 |
4.0.0-b02 | 832 | 3/21/2017 |
4.0.0-b01 | 805 | 3/21/2017 |
3.0.0 | 28,483 | 1/5/2017 |
2.0.0 | 3,816 | 9/20/2016 |
2.0.0-b02 | 843 | 9/12/2016 |
2.0.0-b01 | 845 | 9/9/2016 |
2.0.0-a2 | 842 | 9/6/2016 |
2.0.0-a1 | 836 | 9/1/2016 |
0.99.74 | 2,596 | 8/29/2016 |
0.99.73 | 1,444 | 8/12/2016 |
0.99.72 | 1,182 | 8/4/2016 |
0.99.71 | 1,333 | 8/3/2016 |
0.99.70 | 1,230 | 7/29/2016 |
0.99.68 | 1,170 | 7/18/2016 |
0.99.67 | 1,159 | 7/1/2016 |
0.99.66 | 1,184 | 6/28/2016 |
0.99.65 | 1,065 | 6/23/2016 |
0.99.64 | 1,069 | 6/22/2016 |
0.99.63 | 1,088 | 6/21/2016 |
0.99.62 | 1,423 | 6/17/2016 |
0.99.61 | 1,192 | 6/17/2016 |
0.99.60 | 1,188 | 6/15/2016 |
0.99.59 | 1,321 | 6/3/2016 |
0.99.58 | 1,266 | 5/24/2016 |
0.99.57 | 1,148 | 5/22/2016 |
0.99.56 | 1,058 | 5/22/2016 |
0.99.55 | 1,242 | 5/16/2016 |
0.99.54 | 1,100 | 5/12/2016 |
0.99.53 | 1,070 | 5/12/2016 |
0.99.52 | 1,100 | 5/11/2016 |
0.99.51 | 1,098 | 5/9/2016 |
0.99.50 | 1,252 | 4/13/2016 |
0.99.48 | 1,153 | 4/6/2016 |
0.99.47 | 1,153 | 3/31/2016 |
0.99.46 | 1,073 | 3/30/2016 |
0.99.45 | 1,112 | 3/29/2016 |
0.99.44 | 1,117 | 3/26/2016 |
0.99.43 | 1,096 | 3/26/2016 |
0.99.42 | 1,080 | 3/22/2016 |
0.99.41 | 1,089 | 3/17/2016 |
0.99.40 | 1,112 | 3/15/2016 |
0.99.39 | 1,092 | 3/14/2016 |
0.99.38 | 1,105 | 3/9/2016 |
0.99.37 | 1,061 | 3/9/2016 |
0.99.36 | 1,131 | 3/3/2016 |
0.99.35 | 1,234 | 2/22/2016 |
0.99.34 | 1,115 | 2/19/2016 |
0.99.33 | 1,304 | 2/12/2016 |
0.99.32 | 1,163 | 2/10/2016 |
0.99.31 | 1,128 | 2/8/2016 |
0.99.30 | 1,071 | 2/5/2016 |
0.99.29 | 1,709 | 2/2/2016 |
0.99.27 | 1,084 | 1/28/2016 |
0.99.26 | 1,058 | 1/27/2016 |
0.99.25 | 1,102 | 1/22/2016 |
0.99.24 | 1,169 | 1/18/2016 |
0.99.23 | 1,211 | 12/18/2015 |
0.99.22 | 1,083 | 12/18/2015 |
0.99.21 | 1,181 | 12/11/2015 |
0.99.20 | 1,170 | 12/10/2015 |
0.99.19 | 1,101 | 12/8/2015 |
0.99.18 | 1,074 | 12/7/2015 |
0.99.17 | 1,101 | 12/7/2015 |
0.99.16 | 1,459 | 11/30/2015 |
0.99.14 | 1,296 | 11/24/2015 |
0.99.13 | 1,188 | 11/23/2015 |
0.99.12 | 1,182 | 11/17/2015 |
0.99.11 | 1,158 | 11/17/2015 |
0.99.10 | 1,179 | 11/11/2015 |
0.99.9 | 1,118 | 11/5/2015 |
0.99.8 | 1,099 | 11/5/2015 |
0.99.7 | 1,119 | 10/29/2015 |
0.99.5 | 1,109 | 10/27/2015 |
0.99.4 | 1,088 | 10/27/2015 |
0.99.2 | 1,084 | 10/12/2015 |
0.99.1 | 1,289 | 10/8/2015 |
0.99.0 | 1,235 | 10/7/2015 |
0.98.12 | 1,200 | 9/17/2015 |
0.98.11 | 1,143 | 9/17/2015 |
0.98.10 | 1,183 | 9/16/2015 |
0.98.9 | 1,171 | 9/14/2015 |
0.98.8 | 1,161 | 9/13/2015 |
0.98.7 | 1,152 | 9/9/2015 |
0.98.6 | 1,112 | 9/7/2015 |
0.98.5 | 1,118 | 9/3/2015 |
0.98.4 | 1,092 | 9/3/2015 |
0.98.3 | 1,129 | 9/1/2015 |
0.98.2 | 1,168 | 8/27/2015 |
0.98.0 | 1,159 | 8/26/2015 |
0.97.0 | 1,179 | 8/25/2015 |
0.96.0 | 1,151 | 8/24/2015 |
0.95.0 | 1,118 | 8/20/2015 |
0.94.0 | 1,175 | 8/19/2015 |
0.93.0 | 1,155 | 8/19/2015 |
0.92.4 | 1,152 | 8/17/2015 |
0.92.3 | 1,446 | 8/13/2015 |
0.92.2 | 1,429 | 8/12/2015 |
0.92.1 | 1,726 | 8/12/2015 |
0.92.0 | 1,484 | 8/11/2015 |
0.91.0 | 1,427 | 8/11/2015 |
0.90.9 | 1,266 | 8/10/2015 |
0.90.8 | 1,325 | 8/9/2015 |
0.90.7 | 1,420 | 8/5/2015 |
0.90.6 | 1,402 | 8/4/2015 |
0.90.5 | 1,376 | 8/4/2015 |
0.90.4 | 1,315 | 8/2/2015 |
0.90.3 | 1,306 | 8/2/2015 |
0.90.2 | 1,279 | 7/31/2015 |
0.90.1 | 1,264 | 7/29/2015 |
0.90.0 | 1,286 | 7/29/2015 |
0.84.0 | 1,667 | 5/15/2015 |
0.83.0 | 2,481 | 4/20/2015 |
0.82.1 | 1,985 | 4/16/2015 |
0.82.0 | 1,235 | 3/19/2015 |
0.81.0 | 1,257 | 3/12/2015 |
0.80.1 | 1,182 | 3/5/2015 |
0.80.0 | 1,678 | 2/19/2015 |
0.79.0 | 1,166 | 2/6/2015 |
0.78.2 | 1,146 | 2/6/2015 |
0.78.1 | 1,182 | 2/5/2015 |
0.78.0 | 1,280 | 1/29/2015 |
0.77.1 | 1,174 | 1/23/2015 |
0.77.0 | 1,127 | 1/15/2015 |
0.76.0 | 1,116 | 1/15/2015 |
0.75.2 | 1,189 | 1/3/2015 |
0.75.1 | 1,450 | 12/21/2014 |
0.75.0 | 1,358 | 12/2/2014 |
0.74.1 | 1,303 | 12/2/2014 |
0.74.0 | 1,314 | 11/30/2014 |
0.73.0 | 1,680 | 11/6/2014 |
0.72.0 | 1,420 | 11/5/2014 |
0.71.4 | 1,185 | 10/29/2014 |
0.71.3 | 1,248 | 10/20/2014 |
0.71.2 | 1,151 | 9/30/2014 |
0.71.1 | 1,169 | 9/19/2014 |
0.71.0 | 1,258 | 8/7/2014 |
0.70.3 | 1,174 | 8/4/2014 |
0.70.2 | 1,185 | 7/31/2014 |
0.70.1 | 1,177 | 7/17/2014 |
0.69.0 | 1,218 | 6/17/2014 |
0.68.0 | 1,210 | 6/5/2014 |
0.67.0 | 1,175 | 5/20/2014 |
0.66.0 | 1,536 | 5/9/2014 |