You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Greengrass::Types::Logger

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Logger as input to an Aws::Client method, you can use a vanilla Hash:

{
  component: "GreengrassSystem", # required, accepts GreengrassSystem, Lambda
  id: "__string", # required
  level: "DEBUG", # required, accepts DEBUG, INFO, WARN, ERROR, FATAL
  space: 1,
  type: "FileSystem", # required, accepts FileSystem, AWSCloudWatch
}

Information about a logger

Instance Attribute Summary collapse

Instance Attribute Details

#componentString

The component that will be subject to logging.

Possible values:

  • GreengrassSystem
  • Lambda

Returns:

  • (String)

    The component that will be subject to logging.

#idString

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:_-]+\'\'.

Returns:

  • (String)

    A descriptive or arbitrary ID for the logger.

#levelString

The level of the logs.

Possible values:

  • DEBUG
  • INFO
  • WARN
  • ERROR
  • FATAL

Returns:

  • (String)

    The level of the logs.

#spaceInteger

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

Returns:

  • (Integer)

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

#typeString

The type of log output which will be used.

Possible values:

  • FileSystem
  • AWSCloudWatch

Returns:

  • (String)

    The type of log output which will be used.