From 8a8941f899c0e5a5557230292cb93ceab5c895f5 Mon Sep 17 00:00:00 2001 From: Rolf Kristensen Date: Sun, 21 May 2023 09:13:11 +0200 Subject: [PATCH] Updated sample for NLog.Extensions.Hosting README.md (#673) --- src/NLog.Extensions.Hosting/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NLog.Extensions.Hosting/README.md b/src/NLog.Extensions.Hosting/README.md index 5f57b48e..5057e8fe 100644 --- a/src/NLog.Extensions.Hosting/README.md +++ b/src/NLog.Extensions.Hosting/README.md @@ -26,7 +26,7 @@ Supported platforms: Registration of NLog as logging provider: ```csharp -builder.UseNLog(); +var hostBuilder = new HostBuilder().UseNLog(); ``` Useful Links