Skip to content

Commit 5981ffe

Browse files
committed
Rename Serilog.Hosting to Serilog.Extensions.Hosting
1 parent 1500356 commit 5981ffe

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Serilog.Hosting [![Build status](https://ci.appveyor.com/api/projects/status/4rscdto23ik6vm2r?svg=true)](https://ci.appveyor.com/project/serilog/serilog-hosting) [![NuGet Version](http://img.shields.io/nuget/v/Serilog.Hosting.svg?style=flat)](https://www.nuget.org/packages/Serilog.Hosting/)
1+
# Serilog.Extensions.Hosting [![Build status](https://ci.appveyor.com/api/projects/status/4rscdto23ik6vm2r?svg=true)](https://ci.appveyor.com/project/serilog/serilog-hosting) [![NuGet Version](http://img.shields.io/nuget/v/Serilog.Extensions.Hosting.svg?style=flat)](https://www.nuget.org/packages/Serilog.Extensions.Hosting/)
22

33

44
Serilog logging for Microsoft.Extensions.Hosting . This package routes Microsoft.Extensions.Hosting log messages through Serilog, so you can get information about the framework's internal operations logged to the same Serilog sinks as your application events.
55

66
### Instructions
77

8-
**First**, install the _Serilog.Hosting_ [NuGet package](https://www.nuget.org/packages/Serilog.Hosting) into your app. You will need a way to view the log messages - _Serilog.Sinks.Console_ writes these to the console; there are [many more sinks available](https://www.nuget.org/packages?q=Tags%3A%22serilog%22) on NuGet.
8+
**First**, install the _Serilog.Extensions.Hosting_ [NuGet package](https://www.nuget.org/packages/Serilog.Extensions.Hosting) into your app. You will need a way to view the log messages - _Serilog.Sinks.Console_ writes these to the console; there are [many more sinks available](https://www.nuget.org/packages?q=Tags%3A%22serilog%22) on NuGet.
99

1010
```powershell
11-
Install-Package Serilog.Hosting -DependencyVersion Highest
11+
Install-Package Serilog.Extensions.Hosting -DependencyVersion Highest
1212
Install-Package Serilog.Sinks.Console
1313
```
1414

@@ -68,7 +68,7 @@ A more complete example, showing _appsettings.json_ configuration, can be found
6868

6969
### Using the package
7070

71-
With _Serilog.Hosting_ installed and configured, you can write log messages directly through Serilog or any `ILogger` interface injected by .NET. All loggers will use the same underlying implementation, levels, and destinations.
71+
With _Serilog.Extensions.Hosting_ installed and configured, you can write log messages directly through Serilog or any `ILogger` interface injected by .NET. All loggers will use the same underlying implementation, levels, and destinations.
7272

7373
**Tip:** change the minimum level for `Microsoft` to `Warning`
7474

samples/SimpleServiceSample/SimpleServiceSample.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</ItemGroup>
1010

1111
<ItemGroup>
12-
<ProjectReference Include="..\..\src\Serilog.Hosting\Serilog.Hosting.csproj" />
12+
<ProjectReference Include="..\..\src\Serilog.Extensions.Hosting\Serilog.Extensions.Hosting.csproj" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

serilog-hosting.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "assets", "assets", "{9C21B9
1818
assets\Serilog.snk = assets\Serilog.snk
1919
EndProjectSection
2020
EndProject
21-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Serilog.Hosting", "src\Serilog.Hosting\Serilog.Hosting.csproj", "{0549D23F-986B-4FB2-BACE-16FD7A7BC9EF}"
21+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Serilog.Extensions.Hosting", "src\Serilog.Extensions.Hosting\Serilog.Extensions.Hosting.csproj", "{0549D23F-986B-4FB2-BACE-16FD7A7BC9EF}"
2222
EndProject
23-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Serilog.Hosting.Tests", "test\Serilog.Hosting.Tests\Serilog.Hosting.Tests.csproj", "{AD51759B-CD58-473F-9620-0B0E56A123A1}"
23+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Serilog.Extensions.Hosting.Tests", "test\Serilog.Extensions.Hosting.Tests\Serilog.Extensions.Hosting.Tests.csproj", "{AD51759B-CD58-473F-9620-0B0E56A123A1}"
2424
EndProject
2525
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleServiceSample", "samples\SimpleServiceSample\SimpleServiceSample.csproj", "{E5A82756-4619-4E6B-8B26-6D83E00E99F0}"
2626
EndProject

src/Serilog.Hosting/Serilog.Hosting.csproj renamed to src/Serilog.Extensions.Hosting/Serilog.Extensions.Hosting.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<TargetFrameworks>netstandard2.0</TargetFrameworks>
88
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
99
<GenerateDocumentationFile>true</GenerateDocumentationFile>
10-
<AssemblyName>Serilog.Hosting</AssemblyName>
10+
<AssemblyName>Serilog.Extensions.Hosting</AssemblyName>
1111
<AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile>
1212
<SignAssembly>true</SignAssembly>
1313
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
14-
<PackageId>Serilog.Hosting</PackageId>
14+
<PackageId>Serilog.Extensions.Hosting</PackageId>
1515
<PackageTags>serilog;aspnet;aspnetcore;hosting</PackageTags>
1616
<PackageIconUrl>http://serilog.net/images/serilog-extension-nuget.png</PackageIconUrl>
1717
<PackageProjectUrl>https://github.com/serilog/serilog-hosting</PackageProjectUrl>

test/Serilog.Hosting.Tests/Serilog.Hosting.Tests.csproj renamed to test/Serilog.Extensions.Hosting.Tests/Serilog.Extensions.Hosting.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netcoreapp2.0</TargetFrameworks>
5-
<AssemblyName>Serilog.Hosting.Tests</AssemblyName>
5+
<AssemblyName>Serilog.Extensions.Hosting.Tests</AssemblyName>
66
<AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile>
77
<SignAssembly>true</SignAssembly>
88
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
99
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<ProjectReference Include="..\..\src\Serilog.Hosting\Serilog.Hosting.csproj" />
13+
<ProjectReference Include="..\..\src\Serilog.Extensions.Hosting\Serilog.Extensions.Hosting.csproj" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

test/Serilog.Hosting.Tests/SerilogHostBuilderExtensionsTests.cs renamed to test/Serilog.Extensions.Hosting.Tests/SerilogHostBuilderExtensionsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using Xunit;
55

6-
namespace Serilog.Hosting.Tests
6+
namespace Serilog.Extensions.Hosting.Tests
77
{
88
public class SerilogHostBuilderExtensionsTests
99
{

test/Serilog.Hosting.Tests/Support/DisposeTrackingLogger.cs renamed to test/Serilog.Extensions.Hosting.Tests/Support/DisposeTrackingLogger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Serilog.Core;
44
using Serilog.Events;
55

6-
namespace Serilog.Hosting.Tests.Support
6+
namespace Serilog.Extensions.Hosting.Tests.Support
77
{
88
public class DisposeTrackingLogger : ILogger, IDisposable
99
{

test/Serilog.Hosting.Tests/Support/SerilogSink.cs renamed to test/Serilog.Extensions.Hosting.Tests/Support/SerilogSink.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Serilog.Core;
66
using Serilog.Events;
77

8-
namespace Serilog.Hosting.Tests.Support
8+
namespace Serilog.Extensions.Hosting.Tests.Support
99
{
1010
public class SerilogSink : ILogEventSink
1111
{

0 commit comments

Comments
 (0)