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.

The Amazon CloudWatch Logs configuration.

Inheritance Hierarchy

System.Object
  Amazon.AppSync.Model.LogConfig

Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z

Syntax

C#
public class LogConfig

The LogConfig type exposes the following members

Constructors

NameDescription
Public Method LogConfig()

Properties

NameTypeDescription
Public Property CloudWatchLogsRoleArn System.String

Gets and sets the property CloudWatchLogsRoleArn.

The service role that AppSync assumes to publish to CloudWatch logs in your account.

Public Property ExcludeVerboseContent System.Boolean

Gets and sets the property ExcludeVerboseContent.

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.

Public Property FieldLogLevel Amazon.AppSync.FieldLogLevel

Gets and sets the property FieldLogLevel.

The field logging level. Values can be NONE, ERROR, or ALL.

  • NONE: No field-level logs are captured.

  • ERROR: Logs the following information only for the fields that are in error:

    • The error section in the server response.

    • Field-level errors.

    • The generated request/response functions that got resolved for error fields.

  • ALL: The following information is logged for all fields in the query:

    • Field-level tracing information.

    • The generated request/response functions that got resolved for each field.

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