https://github.com/aimenux/serilogsinksdemo
Using Serilog to send logs to various sinks
https://github.com/aimenux/serilogsinksdemo
appinsights console-app net80 seq serilog udp
Last synced: 7 months ago
JSON representation
Using Serilog to send logs to various sinks
- Host: GitHub
- URL: https://github.com/aimenux/serilogsinksdemo
- Owner: aimenux
- Created: 2021-08-01T10:58:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-21T12:38:05.000Z (over 1 year ago)
- Last Synced: 2025-02-27T01:54:29.007Z (12 months ago)
- Topics: appinsights, console-app, net80, seq, serilog, udp
- Language: C#
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/aimenux/SerilogSinksDemo/actions/workflows/ci.yml)
# SerilogSinksDemo
```
Using Serilog to send logs to various sinks
```
> In this repo, i m using serilog in order to enable logging to various sinks in console applications :
>
> - 2 configuration ways : code config based or json config based (chosen randomly at startup)
>
> - 5 sinks : console, file, udp, seq, appinsights
>
> For Seq:
> - run docker command : `docker run -e "ACCEPT_EULA=Y" -p 5341:80 --name=SEQ -d datalust/seq:latest`
> - navigate to `http://localhost:5341` to see logs
>
> 
>
**`Tools`** : net 8.0, serilog