Serilog - Logging to SQL Server in ASP.NET Core [Hindi] | Logging Part 3 | .NET 6 |
Автор: DevRaj
Загружено: 2023-07-13
Просмотров: 1360
Описание:
Hello guys, in this video we are going to see how we can save logs in Microsoft SQL server using Serilog. This video will also show you how you can add self log for Serilog if you don't see your logs in any of the sink you have added. You will learn how to debug your Serilog with self log. It demonstrates how easy it is to add new sink by simply modifying the configuration.
Below is the github link for the above code:
https://github.com/raj03singh93/Demo.Api
This repo contains some other examples as well, so the logic related to this video is in
appsettings.Development.json and the logger is added like this builder.Logging.AddMyLogger(builder) in program.cs file. Rest of the code you can follow.
Let me know if you have any questions.
Some other logging videos :
Logging Part 1:
• Logging in ASP.NET core in Hindi | Logging...
Logging Part 2:
• Serilog in ASP.NET core [Hindi] | Logging ...
#basic #serilog #programming #dotnet #sqlserver #logging #csharp
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: