AWS SDK Version 2 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.

.NET Framework 3.5
 
Settings for logging in the SDK.

Inheritance Hierarchy

System.Object
  Amazon.Util.LoggingConfig

Namespace: Amazon.Util
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class LoggingConfig : Object

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 Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8