Skip to content

Commit

Permalink
Update readme file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-esmp authored Jun 26, 2022
1 parent 4efb829 commit b797b7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The `WithClientIp()` enricher will add a `ClientIp` property and the `WithClient
For `ClientIp` enricher you can configure the `X-forwarded-for` header if the proxy server uses a different header to forward IP address.
```csharp
Log.Logger = new LoggerConfiguration()
.Enrich.WithClientIp("CF-Connecting-IP")
.Enrich.WithClientIp(xForwardHeaderName: "CF-Connecting-IP")
...
```
```json
Expand Down Expand Up @@ -105,4 +105,4 @@ namespace MyWebApp
}
}
}
```
```

0 comments on commit b797b7c

Please sign in to comment.