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 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

The id of the logger.

Returns:

  • (String)

    The id of 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.