Skip to content

Commit 9ffb1bc

Browse files
authored
Add serilog:using to the XML example in the README [Skip CI]
1 parent 4624e6a commit 9ffb1bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ To specify the formatter in XML `<appSettings>` provide its assembly-qualified t
3030

3131
```xml
3232
<appSettings>
33+
<add key="serilog:using:RollingFile" value="Serilog.Sinks.RollingFile" />
3334
<add key="serilog:write-to:RollingFile.pathFormat" value="./logs/myapp.json" />
3435
<add key="serilog:write-to:RollingFile.formatter"
3536
value="Serilog.Formattting.Compact.CompactJsonFormatter, Serilog.Formatting.Compact" />

0 commit comments

Comments
 (0)