We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4efb829 commit b797b7cCopy full SHA for b797b7c
README.md
@@ -40,7 +40,7 @@ The `WithClientIp()` enricher will add a `ClientIp` property and the `WithClient
40
For `ClientIp` enricher you can configure the `X-forwarded-for` header if the proxy server uses a different header to forward IP address.
41
```csharp
42
Log.Logger = new LoggerConfiguration()
43
- .Enrich.WithClientIp("CF-Connecting-IP")
+ .Enrich.WithClientIp(xForwardHeaderName: "CF-Connecting-IP")
44
...
45
```
46
```json
@@ -105,4 +105,4 @@ namespace MyWebApp
105
}
106
107
108
-```
+```
0 commit comments