Skip to content

A lightweight high performance Serilog sink that writes to SQLite database using SQLiteNetPcl (Xamarin, NetStandard 2.0 & 2.1).

License

Notifications You must be signed in to change notification settings

Nonobis/Serilog.Sinks.SQLite.Net-PCL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serilog.Sinks.SQLite.Net-PCL

A lightweight high performance Serilog sink that writes to SQLite database using SQLiteNetPcl (Xamarin, NetStandard 2.0 & 2.1).

Perfect for stocking logs in a sqlite database in your Xamarin.Forms project :)

Getting started

Install Serilog.Sinks.SQLite.NetPCL from NuGet

Configure logger by calling WriteTo.SQLiteNetPcl()

var logger = new LoggerConfiguration()
    .WriteTo.SQLiteNetPcl(@"Logs\log.db")
    .CreateLogger();
    
logger.Information("This informational message will be written to SQLite database");

About

A lightweight high performance Serilog sink that writes to SQLite database using SQLiteNetPcl (Xamarin, NetStandard 2.0 & 2.1).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages