Closed AtlantisDe closed 4 years ago
Hello, it's simple Tiny extension library - Serilog.Sinks.SQLite just not support custom db table My solution just dowload library, and rewrite app parts for you purposes
I hust download Serilog.Sinks.SQLite from: https://github.com/saleem-mirza/serilog-sinks-sqlite -next i extract project files -create new C# net core 3.1 classes library project in my solution -put in my new project downloaded Serilog.Sinks.SQLite .cs files -dowload required nu get packeges
My library project config:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Serilog" Version="2.11.0" />
<PackageReference Include="System.Data.SQLite" Version="1.0.115.5" />
</ItemGroup>
</Project>
Description
How to use custom columns in Serilog.Sinks.SQLite
default
i need like Entity insert
pls help me