Info
Version: | 5.0.157-preview |
Author(s): | Frank R. Haugen |
Last Update: | Sunday, November 5, 2023 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/frankhaugen/Frank.Libraries |
NuGet Url: | https://www.nuget.org/packages/Frank.Libraries.Logging |
Install
Install-Package Frank.Libraries.Logging
dotnet add package Frank.Libraries.Logging
paket add Frank.Libraries.Logging
Frank.Libraries.Logging Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.Extensions.Logging(>= 3.1.8)
- Microsoft.Extensions.Logging.Abstractions(>= 3.1.8)
- System.Data.SqlClient(>= 4.8.2)
- System.Text.Json(>= 4.7.2)
Tags
This fixes this, by having a simple SQL logging provider that is easy to setup. You can use appsettings.json or other methods to configure this in your Startup.cs.
Be aware that this uses ADO.net and very forcefully creates a table in your database if one does not exist. This only supports SQL Server at this time.