Hello! In this video, we will use sinks to write into a text file and try out some other Serilog features.
Please leave a like if this video is helpful and consider subscribing to get notified of our new content.
If you have a question in mind please leave a comment or if there are topics you would like to discuss.
If you want to follow along please get code from github repository below:
https://github.com/eugeneong-2020/Video-14-Initial
Timeline of this video for your convenience:
00:00 Intro
00:39 Code Repository
00:51 Define Sinks
01:09 Add Source Context
03:47 Finalize Output Template
06:12 Write To File
07:31 Add Rolling Interval Day
08:34 Filter Logs using Minimum Level
11:42 Summary
Тэги:
#vscode #VS_Code #Serilog #sinks #enrich #.net5.0 #dotnet #.net #C#