AisIotCentricFramework.Logging
1.5.1
dotnet add package AisIotCentricFramework.Logging --version 1.5.1
NuGet\Install-Package AisIotCentricFramework.Logging -Version 1.5.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="AisIotCentricFramework.Logging" Version="1.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AisIotCentricFramework.Logging" Version="1.5.1" />
<PackageReference Include="AisIotCentricFramework.Logging" />
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 AisIotCentricFramework.Logging --version 1.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AisIotCentricFramework.Logging, 1.5.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.
#:package AisIotCentricFramework.Logging@1.5.1
#: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=AisIotCentricFramework.Logging&version=1.5.1
#tool nuget:?package=AisIotCentricFramework.Logging&version=1.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LoggingFilterAttribute
Overview
LoggingFilterAttribute is a custom ASP.NET Core action filter that logs information about incoming requests and outgoing responses. It is used to provide detailed insights into the application's behavior during runtime, helping with debugging and monitoring.
This attribute can be applied globally, at the controller level, or on individual actions.
Features
- Logs HTTP request details, such as method, URL, headers, and body.
- Logs HTTP response details, including status codes and response bodies.
- Easy integration with ASP.NET Core's built-in logging framework.
- Configurable for selective logging.
Installation
- Add the LoggingFilterAttribute Class in Services MVC
LoggingFilterAttribute Class will help you to automatic logging incoming and outgoing message - Add the LoggingHandleExceptionFilterAttibute class in Service MVC LoggingHandleExceptionFilterAttribute class will help you to logging any exception in your application
- Add the LoggingHTTPFormatFilterAttribute Class to AddHttpClient LoggingHTTPFormatFilterAttribute will help you to logging your outgoing message etc. url,body,queryparam,headers and Response from externalNode
builder.Services.AddMvc(options =>
{
config.Filters.Add(typeof(LoggingFilterAttribute));
config.Filters.Add(typeof(LoggingHandleExceptionFilterAttribute));
});
builder.Services.AddLogging(c=>c.AddAisFrameWorkLogging());
builder.Services.AddAisFrameWorkUtil();
builder.Services.AddTransient<LoggingHTTPFormatFilterAttribute>();
builder.Services.AddHttpClient<ServiceHTTP>(c =>
{
c.BaseAddress = Configuration.BaseAddress;
})
.ConfigurePrimaryHttpMessageHandler(() =>
{
return new SocketsHttpHandler
{
PooledConnectionIdleTimeout = TimeSpan.FromSeconds(30),
PooledConnectionLifetime = TimeSpan.FromSeconds(30),
ConnectTimeout = TimeSpan.FromSeconds(30),
SslOptions = new SslClientAuthenticationOptions
{
EnabledSslProtocols = System.Security.Authentication.SslProtocols.Tls12 | System.Security.Authentication.SslProtocols.Tls13,
RemoteCertificateValidationCallback = (sender, cert, chain, sslPolicyErrors) => true
}
};
}).AddHttpMessageHandler<LoggingHTTPFormatFilterAttribute>();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- CsvHelper (>= 33.0.1)
- FluentValidation (>= 11.11.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 9.0.11)
- Microsoft.AspNetCore.Mvc.Abstractions (>= 2.3.0)
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Newtonsoft.Json (>= 13.0.3)
- prometheus-net.AspNetCore (>= 8.2.1)
- RabbitMQ.Client (>= 7.1.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AisIotCentricFramework.Logging:
| Package | Downloads |
|---|---|
|
AisIotCentricFramework.Database.Mongo
A framework developed by AIS eSports Development Team for internal and external solutions. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.5.1 | 133 | 6/2/2026 |
| 1.5.0 | 154 | 5/29/2026 |
| 1.4.9 | 139 | 5/20/2026 |
| 1.4.8 | 187 | 5/17/2026 |
| 1.4.7 | 457 | 4/10/2026 |
| 1.4.6 | 147 | 4/8/2026 |
| 1.4.5 | 257 | 3/24/2026 |
| 1.4.4 | 145 | 3/24/2026 |
| 1.4.3 | 192 | 3/5/2026 |
| 1.4.2 | 143 | 3/4/2026 |
| 1.4.1 | 178 | 2/20/2026 |
| 1.4.0 | 103 | 2/20/2026 |
| 1.3.9 | 639 | 11/28/2025 |
| 1.3.8 | 282 | 11/25/2025 |
| 1.3.7 | 545 | 11/21/2025 |
| 1.3.6 | 441 | 11/21/2025 |
| 1.3.5 | 538 | 11/18/2025 |
| 1.3.4 | 304 | 11/14/2025 |
| 1.3.3 | 265 | 11/14/2025 |
| 1.3.2 | 341 | 11/12/2025 |
Loading failed