AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Util.LoggingConfig

Namespace: Amazon.Util
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z

Syntax

C#
public class LoggingConfig

The LoggingConfig type exposes the following members

Properties

NameTypeDescription
Public Property LogMetrics System.Boolean

Whether or not to log SDK metrics.

Public Property LogMetricsCustomFormatter Amazon.Runtime.IMetricsFormatter

A custom formatter added through Configuration

Public Property LogMetricsFormat Amazon.LogMetricsFormatOption
Public Property LogResponses Amazon.ResponseLoggingOption

When to log responses.

Public Property 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.

Public Property LogTo Amazon.LoggingOptions

Logging destination.

Fields

NameTypeDescription
Field Static Field DefaultLogResponsesSizeLimit System.Int32

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5