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 260 5/25/2024
0.8.2 135 5/25/2024
0.8.1 145 4/27/2024
0.7.11 432 5/28/2023
0.7.10 149 5/28/2023
0.7.9 149 5/28/2023
0.7.8 180 5/28/2023
0.7.7 146 5/28/2023
0.7.6 166 5/27/2023
0.7.5 221 4/5/2023
0.7.4 464 8/15/2022
0.7.3 394 8/14/2022
0.7.2 380 8/7/2022
0.7.1 415 8/7/2022
0.7.0 433 7/7/2022
0.6.3 533 8/14/2022
0.6.2 433 8/7/2022
0.6.1 392 8/7/2022
0.6.0 505 4/28/2022
0.5.8 1,013 10/16/2021
0.5.7 881 5/23/2021
0.5.6 436 5/23/2021
0.5.5 403 5/14/2021
0.5.4 492 2/7/2021
0.5.3 378 2/7/2021
0.5.2 433 1/16/2021
0.5.1 394 1/11/2021
0.5.0 607 12/3/2020
0.3.4 669 11/3/2020
0.3.3 521 9/27/2020
0.3.2 561 4/10/2020
0.3.1 1,619 3/11/2019
0.3.0 1,614 11/17/2018
0.2.0 1,743 7/31/2018

add LogLevel for init