SkillAgentSearch skills...

Rebus.NLog

:bus: NLog logger integration for Rebus

Install / Use

/learn @rebus-org/Rebus.NLog
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Rebus.NLog

install from nuget

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.


View on GitHub
GitHub Stars4
CategoryDevelopment
Updated2y ago
Forks2

Languages

C#

Security Score

60/100

Audited on Aug 29, 2023

No findings