CARVIEW |
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.
LoggingConfig
Class
Settings for logging in the SDK.
Inheritance Hierarchy
Namespace: Amazon.Util
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
Syntax
public class LoggingConfig
The LoggingConfig type exposes the following members
Properties
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. |
Fields
Name | Type | Description | |
---|---|---|---|
![]() ![]() |
DefaultLogResponsesSizeLimit | System.Int32 |
Version Information
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer