https://github.com/rebus-org/rebus.microsoft.extensions.logging
:bus: Microsoft Logging Extensions integration for Rebus
https://github.com/rebus-org/rebus.microsoft.extensions.logging
logging microsoft microsoft-extensions-logging rebus
Last synced: 3 months ago
JSON representation
:bus: Microsoft Logging Extensions integration for Rebus
- Host: GitHub
- URL: https://github.com/rebus-org/rebus.microsoft.extensions.logging
- Owner: rebus-org
- License: other
- Created: 2018-10-03T15:51:13.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-14T21:45:08.000Z (8 months ago)
- Last Synced: 2025-04-02T20:11:50.459Z (3 months ago)
- Topics: logging, microsoft, microsoft-extensions-logging, rebus
- Language: C#
- Homepage: https://mookid.dk/category/rebus
- Size: 1.82 MB
- Stars: 3
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Rebus.Microsoft.Extensions.Logging
[](https://www.nuget.org/packages/Rebus.Microsoft.Extensions.Logging)
Provides a Microsoft Extensions Logging logging integration for [Rebus](https://github.com/rebus-org/Rebus).

---
Like this:
```csharp
var loggerFactory = new LoggerFactory()
.AddConsole();Configure.With(...)
.Logging(l => l.MicrosoftExtensionsLogging(loggerFactory))
.Transport(t => t.Use(...))
.(...)
.Start();
```or like this:
```csharp
var logger = new LoggerFactory()
.AddConsole()
.CreateLogger();Configure.With(...)
.Logging(l => l.MicrosoftExtensionsLogging(logger))
.Transport(t => t.Use(...))
.(...)
.Start();
```