I am working on ASP.NET5 Project where I am using Microsoft.Extensions.Logging as logging framework. Here I want to provide the different options for logging.The User can select logging into a text file or Database(SQL Server) itself.
I know how to do logging in the-the text file. But How I can configure Microsoft.Extensions.Logging to log data in SQL Server.
Any help will be really appreciated.