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 170 5/25/2024
0.8.2 128 5/25/2024
0.8.1 141 4/27/2024
0.7.11 425 5/28/2023
0.7.10 143 5/28/2023
0.7.9 145 5/28/2023
0.7.8 174 5/28/2023
0.7.7 142 5/28/2023
0.7.6 162 5/27/2023
0.7.5 217 4/5/2023
0.7.4 460 8/15/2022
0.7.3 390 8/14/2022
0.7.2 376 8/7/2022
0.7.1 411 8/7/2022
0.7.0 429 7/7/2022
0.6.3 529 8/14/2022
0.6.2 429 8/7/2022
0.6.1 388 8/7/2022
0.6.0 501 4/28/2022
0.5.8 1,009 10/16/2021
0.5.7 877 5/23/2021
0.5.6 432 5/23/2021
0.5.5 399 5/14/2021
0.5.4 488 2/7/2021
0.5.3 374 2/7/2021
0.5.2 429 1/16/2021
0.5.1 388 1/11/2021
0.5.0 603 12/3/2020
0.3.4 665 11/3/2020
0.3.3 517 9/27/2020
0.3.2 555 4/10/2020
0.3.1 1,613 3/11/2019
0.3.0 1,605 11/17/2018
0.2.0 1,735 7/31/2018

add LogLevel for init