A Serilog sink that writes log events to any Spreadsheet
.
Name | Stable | Preview |
---|---|---|
Nuget | ||
MyGet |
PM> Install-Package Serilog.Sinks.Spreadsheet
var tpl = Path.Combine(Environment.CurrentDirectory,"tpl.xlsx");
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Verbose()
.WriteTo.Excel()
.WriteTo.Excel(tpl,"{Timestamp:yyyy-MM-dd}-tpl.xlsx")
.CreateLogger();
MIT