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.

Information about a logger

Inheritance Hierarchy

System.Object
  Amazon.Greengrass.Model.Logger

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

Syntax

C#
public class Logger

The Logger type exposes the following members

Constructors

NameDescription
Public Method Logger()

Properties

NameTypeDescription
Public Property Component Amazon.Greengrass.LoggerComponent

Gets and sets the property Component. The component that will be subject to logging.

Public Property Id System.String

Gets and sets the property Id. A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

Public Property Level Amazon.Greengrass.LoggerLevel

Gets and sets the property Level. The level of the logs.

Public Property Space System.Int32

Gets and sets the property Space. The amount of file space, in KB, to use if the local file system is used for logging purposes.

Public Property Type Amazon.Greengrass.LoggerType

Gets and sets the property Type. The type of log output which will be used.

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