Skip to content

Commit c4141cc

Browse files
authored
Merge pull request #56 from patriksvensson/patch-1
Added information about the Serilog.Settings.Configuration package
2 parents 98ed489 + 93c5d76 commit c4141cc

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)