LoggingMiddleware_geh 0.8.1

dotnet add package LoggingMiddleware_geh --version 0.8.1
NuGet\Install-Package LoggingMiddleware_geh -Version 0.8.1
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.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LoggingMiddleware_geh --version 0.8.1
#r "nuget: LoggingMiddleware_geh, 0.8.1"
#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.1

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

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.1 48 4/27/2024
0.7.11 393 5/28/2023
0.7.10 119 5/28/2023
0.7.9 118 5/28/2023
0.7.8 134 5/28/2023
0.7.7 117 5/28/2023
0.7.6 137 5/27/2023
0.7.5 186 4/5/2023
0.7.4 424 8/15/2022
0.7.3 364 8/14/2022
0.7.2 360 8/7/2022
0.7.1 384 8/7/2022
0.7.0 400 7/7/2022
0.6.3 499 8/14/2022
0.6.2 382 8/7/2022
0.6.1 376 8/7/2022
0.6.0 476 4/28/2022
0.5.8 985 10/16/2021
0.5.7 819 5/23/2021
0.5.6 387 5/23/2021
0.5.5 389 5/14/2021
0.5.4 449 2/7/2021
0.5.3 337 2/7/2021
0.5.2 399 1/16/2021
0.5.1 362 1/11/2021
0.5.0 577 12/3/2020
0.3.4 653 11/3/2020
0.3.3 486 9/27/2020
0.3.2 529 4/10/2020
0.3.1 1,575 3/11/2019
0.3.0 1,581 11/17/2018
0.2.0 1,703 7/31/2018

fix Removal of NLog-dependency