Skip to content

Commit 6d629c4

Browse files
committed
Doco changes
1 parent ff65c5e commit 6d629c4

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

readme.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Source File: /readme.source.md
55
To change this file edit the source file and then run MarkdownSnippets.
66
-->
77

8-
# <img src="/src/icon.png" height="30px"> NServiceBus.MicrosoftLogging
8+
# <img src="/src/icon.png" height="30px"> NServiceBus.Community.MicrosoftLogging
99

10-
[![Build status](https://ci.appveyor.com/api/projects/status/sovlo1pvgfh0xnba/branch/main?svg=true)](https://ci.appveyor.com/project/SimonCropp/nservicebus-MicrosoftLogging)
11-
[![NuGet Status](https://img.shields.io/nuget/v/NServiceBus.MicrosoftLogging.svg)](https://www.nuget.org/packages/NServiceBus.MicrosoftLogging/)
10+
[![Build status](https://img.shields.io/appveyor/build/SimonCropp/nservicebus-community-MicrosoftLogging)](https://ci.appveyor.com/project/SimonCropp/nservicebus-community-MicrosoftLogging)
11+
[![NuGet Status](https://img.shields.io/nuget/v/NServiceBus.Community.MicrosoftLogging.svg)](https://www.nuget.org/packages/NServiceBus.Community.MicrosoftLogging/)
1212

1313
Add support for [NServiceBus](https://particular.net/nservicebus) to log to [Microsoft.Extensions.Logging](https://github.com/aspnet/Logging).
1414

@@ -21,19 +21,19 @@ Add support for [NServiceBus](https://particular.net/nservicebus) to log to [Mic
2121

2222
## Community backed
2323

24-
**It is expected that all developers either [become a Patron](https://opencollective.com/nservicebusextensions/contribute/patron-6976) to use NServiceBusExtensions. [Go to licensing FAQ](https://github.com/NServiceBusExtensions/Home/#licensingpatron-faq)**
24+
**It is expected that all developers [become a Patron](https://opencollective.com/nservicebuscommunity/contribute/patron-6976) to use NServiceBus Community Extensions. [Go to licensing FAQ](https://github.com/NServiceBusCommunity/Home/#licensingpatron-faq)**
2525

2626

2727
### Sponsors
2828

29-
Support this project by [becoming a Sponsor](https://opencollective.com/nservicebusextensions/contribute/sponsor-6972). The company avatar will show up here with a website link. The avatar will also be added to all GitHub repositories under the [NServiceBusExtensions organization](https://github.com/NServiceBusExtensions).
29+
Support this project by [becoming a Sponsor](https://opencollective.com/nservicebuscommunity/contribute/sponsor-6972). The company avatar will show up here with a website link. The avatar will also be added to all GitHub repositories under the [NServiceBusCommunity organization](https://github.com/NServiceBusCommunity).
3030

3131

3232
### Patrons
3333

34-
Thanks to all the backing developers. Support this project by [becoming a patron](https://opencollective.com/nservicebusextensions/contribute/patron-6976).
34+
Thanks to all the backing developers. Support this project by [becoming a patron](https://opencollective.com/nservicebuscommunity/contribute/patron-6976).
3535

36-
<img src="https://opencollective.com/nservicebusextensions/tiers/patron.svg?width=890&avatarHeight=60&button=false">
36+
<img src="https://opencollective.com/nservicebuscommunity/tiers/patron.svg?width=890&avatarHeight=60&button=false">
3737

3838
<a href="#" id="endofbacking"></a>
3939

@@ -42,14 +42,14 @@ Thanks to all the backing developers. Support this project by [becoming a patron
4242

4343
## NuGet package
4444

45-
https://nuget.org/packages/NServiceBus.MicrosoftLogging/
46-
https://nuget.org/packages/NServiceBus.MicrosoftLogging.Hosting
45+
https://nuget.org/packages/NServiceBus.Community.MicrosoftLogging/
46+
https://nuget.org/packages/NServiceBus.Community.MicrosoftLogging.Hosting
4747

4848

4949
## Usage
5050

5151
<!-- snippet: MsLoggingInCode -->
52-
<a id='snippet-msloggingincode'></a>
52+
<a id='snippet-MsLoggingInCode'></a>
5353
```cs
5454
var serviceCollection = new ServiceCollection();
5555
serviceCollection.AddLogging(loggingBuilder =>
@@ -63,7 +63,7 @@ var logFactory = LogManager.Use<MicrosoftLogFactory>();
6363
logFactory.UseMsFactory(loggerFactory);
6464
// endpoint startup and shutdown
6565
```
66-
<sup><a href='/src/Tests/Snippets/Usage.cs#L11-L24' title='Snippet source file'>snippet source</a> | <a href='#snippet-msloggingincode' title='Start of snippet'>anchor</a></sup>
66+
<sup><a href='/src/Tests/Snippets/Usage.cs#L11-L24' title='Snippet source file'>snippet source</a> | <a href='#snippet-MsLoggingInCode' title='Start of snippet'>anchor</a></sup>
6767
<!-- endSnippet -->
6868

6969

@@ -77,14 +77,14 @@ As `LoggerFactory` implements [IDisposable](https://msdn.microsoft.com/en-us/lib
7777
Disposing the `LoggerFactory` is done by the underlying infrastructure.
7878

7979
<!-- snippet: MsLoggingInGenericHost -->
80-
<a id='snippet-msloggingingenerichost'></a>
80+
<a id='snippet-MsLoggingInGenericHost'></a>
8181
```cs
8282
var builder = Host.CreateDefaultBuilder();
8383
builder.ConfigureLogging(logging => { logging.AddConsole(); });
8484
// should go before any other Use or Configure method that uses NServiceBus
8585
builder.UseMicrosoftLogFactoryLogging();
8686
```
87-
<sup><a href='/src/Tests/Snippets/GenericHostUsage.cs#L8-L15' title='Snippet source file'>snippet source</a> | <a href='#snippet-msloggingingenerichost' title='Start of snippet'>anchor</a></sup>
87+
<sup><a href='/src/Tests/Snippets/GenericHostUsage.cs#L8-L15' title='Snippet source file'>snippet source</a> | <a href='#snippet-MsLoggingInGenericHost' title='Start of snippet'>anchor</a></sup>
8888
<!-- endSnippet -->
8989

9090
Note: `UseMicrosoftLogFactoryLogger` requires adding `NServiceBus.MicrosoftLogging.Hosting` as a package dependency.
@@ -95,7 +95,7 @@ Note: `UseMicrosoftLogFactoryLogger` requires adding `NServiceBus.MicrosoftLoggi
9595
When [hosting in a windows service](https://docs.particular.net/nservicebus/hosting/windows-service) `LoggerFactory` should be disposed of as part of the [ServiceBase.OnStop](https://msdn.microsoft.com/en-us/library/system.serviceprocess.servicebase.onstop.aspx) execution.
9696

9797
<!-- snippet: MsLoggingInService -->
98-
<a id='snippet-mslogginginservice'></a>
98+
<a id='snippet-MsLoggingInService'></a>
9999
```cs
100100
using MsLogLevel = Microsoft.Extensions.Logging.LogLevel;
101101
using MsLoggerFactory = Microsoft.Extensions.Logging.ILoggerFactory;
@@ -156,7 +156,7 @@ class ProgramService :
156156
}
157157
}
158158
```
159-
<sup><a href='/src/Tests/Snippets/ProgramService.cs#L8-L68' title='Snippet source file'>snippet source</a> | <a href='#snippet-mslogginginservice' title='Start of snippet'>anchor</a></sup>
159+
<sup><a href='/src/Tests/Snippets/ProgramService.cs#L8-L68' title='Snippet source file'>snippet source</a> | <a href='#snippet-MsLoggingInService' title='Start of snippet'>anchor</a></sup>
160160
<!-- endSnippet -->
161161

162162

0 commit comments

Comments
 (0)