Skip to content

runes83/Rebus.Serilog

 
 

Repository files navigation

Rebus.Serilog

install from nuget

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();

About

🚌 Serilog logging integration for Rebus

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 75.9%
  • Batchfile 24.1%