Skip to content

Commit a9bd3f8

Browse files
committed
Update instructions for ASP.NET Core and Non-Web .NET Core to specify using AddSerilog() instead of UseSerilog().
1 parent 8fc02eb commit a9bd3f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ A Serilog provider for [Microsoft.Extensions.Logging](https://www.nuget.org/pack
44

55
### ASP.NET Core Instructions
66

7-
**ASP.NET Core** applications should prefer [Serilog.AspNetCore](https://github.com/serilog/serilog-aspnetcore) and `UseSerilog()` instead.
7+
**ASP.NET Core** applications should prefer [Serilog.AspNetCore](https://github.com/serilog/serilog-aspnetcore#instructions) and `AddSerilog()` instead.
88

99
### Non-web .NET Core Instructions
1010

11-
**Non-web .NET Core** applications should prefer [Serilog.Extensions.Hosting](https://github.com/serilog/serilog-extensions-hosting) and `UseSerilog()` instead.
11+
**Non-web .NET Core** applications should prefer [Serilog.Extensions.Hosting](https://github.com/serilog/serilog-extensions-hosting#instructions) and `AddSerilog()` instead.
1212

1313
### .NET Core 1.0, 1.1 and Default Provider Integration
1414

0 commit comments

Comments
 (0)