Skip to content

Commit bf3ac54

Browse files
authored
Update README.md
1 parent 13dc0f3 commit bf3ac54

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
@@ -134,6 +134,7 @@ To include logged headers in `OutputTemplate`, the header name without `-` shoul
134134
```csharp
135135
Log.Logger = new LoggerConfiguration()
136136
.MinimumLevel.Debug()
137+
.Enrich.WithRequestHeader("Cache-Contol")
137138
.WriteTo.Console(outputTemplate: "[{Timestamp:HH:mm:ss}] {Level:u3} {CacheContol} {Message:lj}{NewLine}{Exception}")
138139
```
139140

0 commit comments

Comments
 (0)