LoggingMiddleware_geh 0.8.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package LoggingMiddleware_geh --version 0.8.2                
NuGet\Install-Package LoggingMiddleware_geh -Version 0.8.2                
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.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LoggingMiddleware_geh --version 0.8.2                
#r "nuget: LoggingMiddleware_geh, 0.8.2"                
#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.2

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

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 167 5/25/2024
0.8.2 127 5/25/2024
0.8.1 140 4/27/2024
0.7.11 424 5/28/2023
0.7.10 142 5/28/2023
0.7.9 144 5/28/2023
0.7.8 173 5/28/2023
0.7.7 141 5/28/2023
0.7.6 161 5/27/2023
0.7.5 216 4/5/2023
0.7.4 459 8/15/2022
0.7.3 389 8/14/2022
0.7.2 375 8/7/2022
0.7.1 410 8/7/2022
0.7.0 428 7/7/2022
0.6.3 528 8/14/2022
0.6.2 428 8/7/2022
0.6.1 387 8/7/2022
0.6.0 500 4/28/2022
0.5.8 1,008 10/16/2021
0.5.7 876 5/23/2021
0.5.6 431 5/23/2021
0.5.5 398 5/14/2021
0.5.4 487 2/7/2021
0.5.3 373 2/7/2021
0.5.2 428 1/16/2021
0.5.1 387 1/11/2021
0.5.0 602 12/3/2020
0.3.4 664 11/3/2020
0.3.3 516 9/27/2020
0.3.2 554 4/10/2020
0.3.1 1,612 3/11/2019
0.3.0 1,604 11/17/2018
0.2.0 1,734 7/31/2018

add LogLevel for InternalLogger