Info
Version: | 1.0.0 |
Author(s): | SvyatSlav |
Last Update: | Wednesday, September 23, 2015 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/SvyatSlav/MiniProfiler.Log4Net |
NuGet Url: | https://www.nuget.org/packages/MiniProfiler.Log4Net |
Install
Install-Package MiniProfiler.Log4Net
dotnet add package MiniProfiler.Log4Net
paket add MiniProfiler.Log4Net
MiniProfiler.Log4Net Download (Unzip the "nupkg" after downloading)
Dependencies
- log4net(2.0.3)
- MiniProfiler(3.2.0.157)
Tags
All what you need is:
var logger = LogManager.GetLogger("Logger"); //Init Log4Net Logger
MiniProfilerLog.SetUpLog4Net(logger); //Set up profiler with logger
and use Profiler as usual (see MiniProfiler site.