OASP4Net.Infrastructure.Log 1.0.1

Install-Package OASP4Net.Infrastructure.Log -Version 1.0.1
dotnet add package OASP4Net.Infrastructure.Log --version 1.0.1
<PackageReference Include="OASP4Net.Infrastructure.Log" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OASP4Net.Infrastructure.Log --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OASP4Net.Infrastructure.Log, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install OASP4Net.Infrastructure.Log as a Cake Addin
#addin nuget:?package=OASP4Net.Infrastructure.Log&version=1.0.1

// Install OASP4Net.Infrastructure.Log as a Cake Tool
#tool nuget:?package=OASP4Net.Infrastructure.Log&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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
 }

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 509 9/7/2018
1.0.0 484 9/7/2018