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", # accepts GreengrassSystem, Lambda
  id: "__string",
  level: "DEBUG", # accepts DEBUG, INFO, WARN, ERROR, FATAL
  space: 1,
  type: "FileSystem", # accepts FileSystem, AWSCloudWatch
}

Information on the Logger

Instance Attribute Summary collapse

Instance Attribute Details

#componentString

The component that will be subject to logs

Possible values:

  • GreengrassSystem
  • Lambda

Returns:

  • (String)

    The component that will be subject to logs.

#idString

Element Id for this entry in the list.

Returns:

  • (String)

    Element Id for this entry in the list.

#levelString

The level of the logs

Possible values:

  • DEBUG
  • INFO
  • WARN
  • ERROR
  • FATAL

Returns:

  • (String)

    The level of the logs.

#spaceInteger

Amount of hardware space, in KB, to use if file system is used for logging purposes.

Returns:

  • (Integer)

    Amount of hardware space, in KB, to use if file system is used for logging purposes.

#typeString

The type which will be use for log output

Possible values:

  • FileSystem
  • AWSCloudWatch

Returns:

  • (String)

    The type which will be use for log output.