Published
Apr 3, 2023
3y ago
Total Downloads
2.9M
2,870,082
Install
dotnet add package Rebus.NLog --version 6.0.0-alpha04
| Product | Versions |
|---|---|
| .NET Standard |
README
Rebus.NLog
Provides an NLog logger integration for Rebus.

How to use it
When you configure Rebus by calling the ordinary configuration spell
Configure.With(yourFavoriteContainerAdapter)
.Transport(t => t.UseYourFavoriteTransport("with-this-queue"))
.Start();
Rebus will default to log things to the console, using colors to differentiate between the four different log levels used.
You can make Rebus use NLog like this:
Configure.With(yourFavoriteContainerAdapter)
.Logging(l => l.NLog())
.Transport(t => t.UseYourFavoriteTransport("with-this-queue"))
.Start();
and that's basically it :)
Please check out the NLog site for details on how to configure NLog.
Changes from Previous Version
No structural changes between v6.0.0-alpha03 and v6.0.0-alpha04.
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.