Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-15T11:24:55.000Z (about 1 year ago)
- Last Synced: 2024-05-01T11:48:11.643Z (8 months ago)
- Topics: logging, microsoft, microsoft-extensions-logging, rebus
- Language: C#
- Homepage: https://mookid.dk/category/rebus
- Size: 1.82 MB
- Stars: 3
- Watchers: 6
- Forks: 7
- 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
[![install from nuget](https://img.shields.io/nuget/v/Rebus.Microsoft.Extensions.Logging.svg?style=flat-square)](https://www.nuget.org/packages/Rebus.Microsoft.Extensions.Logging)
Provides a Microsoft Extensions Logging logging integration for [Rebus](https://github.com/rebus-org/Rebus).
![](https://raw.githubusercontent.com/rebus-org/Rebus/master/artwork/little_rebusbus2_copy-200x200.png)
---
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();
```