Table of Contents

Class LoggingConfig

Namespace
Amazon.Util
Assembly
AWSSDK.Core.dll

Settings for logging in the SDK.

public class LoggingConfig
Inheritance
LoggingConfig
Inherited Members

Fields

DefaultLogResponsesSizeLimit

public static readonly int DefaultLogResponsesSizeLimit

Field Value

int

Properties

LogMetrics

Whether or not to log SDK metrics.

public bool LogMetrics { get; set; }

Property Value

bool

LogMetricsCustomFormatter

A custom formatter added through Configuration

public IMetricsFormatter LogMetricsCustomFormatter { get; set; }

Property Value

IMetricsFormatter

LogMetricsFormat

public LogMetricsFormatOption LogMetricsFormat { get; set; }

Property Value

LogMetricsFormatOption

LogResponses

When to log responses.

public ResponseLoggingOption LogResponses { get; set; }

Property Value

ResponseLoggingOption

LogResponsesSizeLimit

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 int LogResponsesSizeLimit { get; set; }

Property Value

int

LogTo

Logging destination.

public LoggingOptions LogTo { get; set; }

Property Value

LoggingOptions