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
<PackageReference Include="SFERA.Helpers.WEB.JsonLogger" Version="1.2021.6" />
<PackageVersion Include="SFERA.Helpers.WEB.JsonLogger" Version="1.2021.6" />
<PackageReference Include="SFERA.Helpers.WEB.JsonLogger" />
paket add SFERA.Helpers.WEB.JsonLogger --version 1.2021.6
#r "nuget: SFERA.Helpers.WEB.JsonLogger, 1.2021.6"
#:package SFERA.Helpers.WEB.JsonLogger@1.2021.6
#addin nuget:?package=SFERA.Helpers.WEB.JsonLogger&version=1.2021.6
#tool nuget:?package=SFERA.Helpers.WEB.JsonLogger&version=1.2021.6
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 | Versions 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. |
-
.NETCoreApp 3.1
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Newtonsoft.Json (>= 13.0.1)
- SFERA.Helpers.Strings (>= 1.2021.310)
- SFERA.Helpers.VisualBasic (>= 1.2021.2)
-
.NETFramework 4.6.2
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Newtonsoft.Json (>= 13.0.1)
- SFERA.Helpers.Strings (>= 1.2021.310)
- SFERA.Helpers.VisualBasic (>= 1.2021.2)
-
.NETFramework 4.7.2
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Newtonsoft.Json (>= 13.0.1)
- SFERA.Helpers.Strings (>= 1.2021.310)
- SFERA.Helpers.VisualBasic (>= 1.2021.2)
-
.NETFramework 4.8
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Newtonsoft.Json (>= 13.0.1)
- SFERA.Helpers.Strings (>= 1.2021.310)
- SFERA.Helpers.VisualBasic (>= 1.2021.2)
-
net5.0
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Newtonsoft.Json (>= 13.0.1)
- SFERA.Helpers.Strings (>= 1.2021.310)
- SFERA.Helpers.VisualBasic (>= 1.2021.2)
-
net6.0
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Newtonsoft.Json (>= 13.0.1)
- SFERA.Helpers.Strings (>= 1.2021.310)
- SFERA.Helpers.VisualBasic (>= 1.2021.2)
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 |