Skip to content

Commit 93c5d76

Browse files
Added information about the Serilog.Settings.Configuration package
`Serilog.Settings.Configuration` needs to be installed for the delegate configuration example to work.
1 parent 98ed489 commit 93c5d76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ This has the advantage of making the `hostingContext`'s `Configuration` object a
103103

104104
If this method is used, `Log.Logger` is assigned implicitly, and closed when the app is shut down.
105105

106+
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).
107+
106108
### Writing to the Azure Diagnostics Log Stream
107109

108110
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:

0 commit comments

Comments
 (0)