AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Settings for logging in the SDK.
Namespace: Amazon.Util
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
public class LoggingConfig
The LoggingConfig type exposes the following members
Name | Type | Description | |
---|---|---|---|
LogMetrics | System.Boolean |
Whether or not to log SDK metrics. |
|
LogMetricsCustomFormatter | Amazon.Runtime.IMetricsFormatter |
A custom formatter added through Configuration |
|
LogMetricsFormat | Amazon.LogMetricsFormatOption | ||
LogResponses | Amazon.ResponseLoggingOption |
When to log responses. |
|
LogResponsesSizeLimit | System.Int32 |
Gets or sets the size limit in bytes for logged responses. If logging for response body is enabled, logged response body is limited to this size. The default limit is 1KB. |
|
LogTo | Amazon.LoggingOptions |
Logging destination. |
Name | Type | Description | |
---|---|---|---|
DefaultLogResponsesSizeLimit | System.Int32 |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5