OASP4Net.Infrastructure.Log NuGet Package

Setup:
on startup.cs:
app-->IApplicationBuilder

app.UseMiddleware(typeof(LogExceptionHandlingMiddleware));

LogConfiguration.ConfigureLog(strring ApplicationPath);

Use the following configuration:

"Log": {
"File": {
"LogFolder": "Logs",
"LogFile": "log-{0}.txt"
},
"SqliteDatabase": "log.db",
"SeqLogServerHost": "http://127.0.0.1:5341",
"GrayLog": {
"GrayLogHost": "127.0.0.1",
"GrayLogPort": "12201",
"GrayLogProtocol": "UDP",
"UseSecureConnection": true,
"UseAsyncLogging": true,
"RetryCount": 5,
"RetryIntervalMs": 15,
"MaxUdpMessageSize": 8192
},
"UseAOPTrace": true
}.




Got any OASP4Net.Infrastructure.Log Question?





Info

Version: 1.0.1
Author(s): Capgemini Valencia Spain
Last Update: Friday, September 7, 2018
.NET Fiddle: Create the first Fiddle
Project Url: https://oasp.github.io/
NuGet Url: https://www.nuget.org/packages/OASP4Net.Infrastructure.Log


Install
Install-Package OASP4Net.Infrastructure.Log
dotnet add package OASP4Net.Infrastructure.Log
paket add OASP4Net.Infrastructure.Log
OASP4Net.Infrastructure.Log Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.5

avg-downloads-per-day

0

days-since-last-release

2050