SFERA.Helpers.WEB.JsonLogger 1.2021.6

dotnet add package SFERA.Helpers.WEB.JsonLogger --version 1.2021.6
                    
NuGet\Install-Package SFERA.Helpers.WEB.JsonLogger -Version 1.2021.6
                    
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="SFERA.Helpers.WEB.JsonLogger" Version="1.2021.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SFERA.Helpers.WEB.JsonLogger" Version="1.2021.6" />
                    
Directory.Packages.props
<PackageReference Include="SFERA.Helpers.WEB.JsonLogger" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SFERA.Helpers.WEB.JsonLogger --version 1.2021.6
                    
#r "nuget: SFERA.Helpers.WEB.JsonLogger, 1.2021.6"
                    
#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.
#:package SFERA.Helpers.WEB.JsonLogger@1.2021.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SFERA.Helpers.WEB.JsonLogger&version=1.2021.6
                    
Install as a Cake Addin
#tool nuget:?package=SFERA.Helpers.WEB.JsonLogger&version=1.2021.6
                    
Install as a Cake Tool

Very simple logger usable for logging any requests and responses inside your controller.

It creates easy to access logs grouped by controller name.

just add this row at beginning of your controller:

               SFERA.Helpers.WEB.JsonLogger.Log.LogRequest(ControllerContext: this.ControllerContext, SessionID: Request.Credentials.SessionID, BaseLogFolder: new System.IO.DirectoryInfo(new System.Uri([yourlogdirefctory] + @"\").LocalPath).FullName, Request: [yourIncomingRequestClass];

and this row at end of your controller:

              SFERA.Helpers.WEB.JsonLogger.Log.LogResponse(ControllerContext: this.ControllerContext, SessionID: Request.Credentials.SessionID, BaseLogFolder: new System.IO.DirectoryInfo(new System.Uri([yourlogdirefctory] + @"\").LocalPath).FullName, Response: [yourOutgoingRequestClass]);

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 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
1.2021.6 1,144 11/15/2021
1.2021.4 451 10/8/2021
1.2021.2 423 7/14/2021
1.2021.1 454 7/13/2021
1.2020.337 420 5/27/2021
1.2020.336 429 5/20/2021
1.2020.335 521 11/30/2020
1.2020.128.23 561 5/7/2020
1.2020.128.15 582 5/7/2020
1.2020.128.11 594 5/7/2020