Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.01 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.01 KB

MiniProfiler.Serilog

Build status

MiniProfiler Extension allows save results into Serilog

Inspired by MiniProfiler.Log4Net and Dave Glick's post

Install from Nuget

 Install-Package MiniProfiler.Serilog 

Usage

Setup Serilog:

Log.Logger = new LoggerConfiguration().AddMiniProfiler() ...;

And than setup Miniprofiler with serilog's Logger

 MiniProfilerLog.SetUpSerilog();

And this all what you need!

Use MiniProfiler as usual (see MiniProfiler site)

Results example

In Seq:

seq.png