Integrates the AWS SDK for .NET logging into Microsoft.Extensions.Logging.
$ dotnet add package AWSSDK.Extensions.Logging.ILoggerAdaptorThis package allows the logging from the AWS SDK for .NET to be written to Microsoft.Extensions.Logging.
The code below shows how to enable the SDK logging by calling the ConfigureAWSSDKLogging extension method on the configured ILoggerFactory of the application.
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
app.Services.GetRequiredService<ILoggerFactory>()
.ConfigureAWSSDKLogging();