From a9bd3f8aac95686b6dcd3633d955a26520e9c700 Mon Sep 17 00:00:00 2001 From: brental <10455806+brental@users.noreply.github.com> Date: Sun, 15 Dec 2024 11:50:18 +1100 Subject: [PATCH] Update instructions for ASP.NET Core and Non-Web .NET Core to specify using AddSerilog() instead of UseSerilog(). --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a9938b..f62c587 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,11 @@ A Serilog provider for [Microsoft.Extensions.Logging](https://www.nuget.org/pack ### ASP.NET Core Instructions -**ASP.NET Core** applications should prefer [Serilog.AspNetCore](https://github.com/serilog/serilog-aspnetcore) and `UseSerilog()` instead. +**ASP.NET Core** applications should prefer [Serilog.AspNetCore](https://github.com/serilog/serilog-aspnetcore#instructions) and `AddSerilog()` instead. ### Non-web .NET Core Instructions -**Non-web .NET Core** applications should prefer [Serilog.Extensions.Hosting](https://github.com/serilog/serilog-extensions-hosting) and `UseSerilog()` instead. +**Non-web .NET Core** applications should prefer [Serilog.Extensions.Hosting](https://github.com/serilog/serilog-extensions-hosting#instructions) and `AddSerilog()` instead. ### .NET Core 1.0, 1.1 and Default Provider Integration