In this video, we learn how to log information, error into the MS SQL database with userName using the Serilog library.
1. I will show you how to configure serilog and add custom columns into Log table.
2. Configure Serilog in Web API Project
3. Create Log Table in MS SQL Database
4. Add Custom Columns in Log Table