Info
Version: | 3.1.1 |
Author(s): | Innolux.AspNetCore.FileLog |
Last Update: | Wednesday, January 20, 2021 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/Innolux.AspNetCore.FileLog |
Install
Install-Package Innolux.AspNetCore.FileLog
dotnet add package Innolux.AspNetCore.FileLog
paket add Innolux.AspNetCore.FileLog
Innolux.AspNetCore.FileLog Download (Unzip the "nupkg" after downloading)
Dependencies
- Newtonsoft.Json(>= 12.0.1)
Tags
use:
services.AddFileLog(t =>
{
t.LogDirectory = Configuration.GetSection("Log:LogDirectory").Value;
t.SettingsPath = Configuration.GetSection("Log:SettingsPath").Value;
t.LogRequestPath = Configuration.GetSection("Log:LogRequestPath").Value;
});
Log information to file
support type: markdown,txt,database,system events.