LoggingMiddleware_geh 0.8.3

dotnet add package LoggingMiddleware_geh --version 0.8.3                
NuGet\Install-Package LoggingMiddleware_geh -Version 0.8.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LoggingMiddleware_geh" Version="0.8.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LoggingMiddleware_geh --version 0.8.3                
#r "nuget: LoggingMiddleware_geh, 0.8.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LoggingMiddleware_geh as a Cake Addin
#addin nuget:?package=LoggingMiddleware_geh&version=0.8.3

// Install LoggingMiddleware_geh as a Cake Tool
#tool nuget:?package=LoggingMiddleware_geh&version=0.8.3                

LoggingMiddleware_geh

Description

In July 2018 i started to write a .NET Core middleware, that should log API-Requests and -Responses.
Additionally the timing of a Request/Response is measured und can be logged in a metric-data format suitable for Splunk, Elasticsearch, SigNoz or similar tools.
Optionally the full Body, all Headers and/or the Querystring can be logged.

The name LoggingMiddleware was already used, so i appended my 3-char Initials meaning Gerhard Herre

The LoggingMiddleware_geh project is based on NLog. For an example nlog.config see the Demo-Project.

I started this project using .NET Core 1.1, right now the master-branch is using .NET 7.0.

I use this project successfully for several Swingdance-related Websites like
RockThatSwing-Festival or Munich Balboa and Shag Weekend

Demo-Project

There is a .NET Core Web App project LoggingMiddleware_geh_Demo that demonstrates the usage of the Logging library.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.8.3 182 5/25/2024
0.8.2 130 5/25/2024
0.8.1 143 4/27/2024
0.7.11 429 5/28/2023
0.7.10 147 5/28/2023
0.7.9 147 5/28/2023
0.7.8 178 5/28/2023
0.7.7 144 5/28/2023
0.7.6 164 5/27/2023
0.7.5 219 4/5/2023
0.7.4 462 8/15/2022
0.7.3 392 8/14/2022
0.7.2 378 8/7/2022
0.7.1 413 8/7/2022
0.7.0 431 7/7/2022
0.6.3 531 8/14/2022
0.6.2 431 8/7/2022
0.6.1 390 8/7/2022
0.6.0 503 4/28/2022
0.5.8 1,011 10/16/2021
0.5.7 879 5/23/2021
0.5.6 434 5/23/2021
0.5.5 401 5/14/2021
0.5.4 490 2/7/2021
0.5.3 376 2/7/2021
0.5.2 431 1/16/2021
0.5.1 392 1/11/2021
0.5.0 605 12/3/2020
0.3.4 667 11/3/2020
0.3.3 519 9/27/2020
0.3.2 557 4/10/2020
0.3.1 1,615 3/11/2019
0.3.0 1,607 11/17/2018
0.2.0 1,737 7/31/2018

add LogLevel for init