Skip to content

Commit b797b7c

Browse files
authored
Update readme file.
1 parent 4efb829 commit b797b7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The `WithClientIp()` enricher will add a `ClientIp` property and the `WithClient
4040
For `ClientIp` enricher you can configure the `X-forwarded-for` header if the proxy server uses a different header to forward IP address.
4141
```csharp
4242
Log.Logger = new LoggerConfiguration()
43-
.Enrich.WithClientIp("CF-Connecting-IP")
43+
.Enrich.WithClientIp(xForwardHeaderName: "CF-Connecting-IP")
4444
...
4545
```
4646
```json
@@ -105,4 +105,4 @@ namespace MyWebApp
105105
}
106106
}
107107
}
108-
```
108+
```

0 commit comments

Comments
 (0)