Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
biplovkc authored Feb 4, 2023
1 parent 4fc01fb commit a0ae804
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,17 @@ services.RegisterSerilogLogger(
app.UseCorrelationIdMiddleware("MyCorrelationId"); // Defaults to CorrelationId if no value passed
app.UseSerilogRequestLogging(options => options.EnrichDiagnosticContext = HttpContextEnricher.HttpRequestEnricher);
```
## Coming soon
Example project
## Example project
Example project can be found in [example folder](https://github.com/biplovkc/serilog-logging/tree/main/example)
You can run it by running following docker command inside the example folder:
```
docker-compose up --build
```
This will run following services
| Service | Url |
|:---------------------|:----------------------|
| API | http://localhost:5000 |
| Seq | http://localhost:5341 |

For more info check:
https://biplov.dev/enriching-serilog-log-entries

0 comments on commit a0ae804

Please sign in to comment.