From 93c5d76839ba1e54e58e43d4af53692d41fdbefe Mon Sep 17 00:00:00 2001 From: Patrik Date: Wed, 18 Jul 2018 14:05:58 +0200 Subject: [PATCH] Added information about the Serilog.Settings.Configuration package `Serilog.Settings.Configuration` needs to be installed for the delegate configuration example to work. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4ddacc7..1fd7532 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,8 @@ This has the advantage of making the `hostingContext`'s `Configuration` object a If this method is used, `Log.Logger` is assigned implicitly, and closed when the app is shut down. +Note: Configuring Serilog via the `hostingContext`'s `Configuration` object requires that you've installed the _Serilog.Settings.Configuration_ [NuGet package](https://www.nuget.org/packages/Serilog.Settings.Configuration). + ### Writing to the Azure Diagnostics Log Stream The Azure Diagnostic Log Stream ships events from any files in the `D:\home\LogFiles\` folder. To enable this for your app, first install the _Serilog.Sinks.File_ package: