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
- Struct
- Aws::Greengrass::Types::Logger
- Defined in:
- (unknown)
Overview
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
-
#component ⇒ String
The component that will be subject to logging.
-
#id ⇒ String
A descriptive or arbitrary ID for the logger.
-
#level ⇒ String
The level of the logs.
-
#space ⇒ Integer
The amount of file space, in KB, to use if the local file system is used for logging purposes.
-
#type ⇒ String
The type of log output which will be used.
Instance Attribute Details
#component ⇒ String
The component that will be subject to logging.
Possible values:
- GreengrassSystem
- Lambda
#id ⇒ String
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:_-]+\'\'.
#level ⇒ String
The level of the logs.
Possible values:
- DEBUG
- INFO
- WARN
- ERROR
- FATAL
#space ⇒ Integer
The amount of file space, in KB, to use if the local file system is used for logging purposes.
#type ⇒ String
The type of log output which will be used.
Possible values:
- FileSystem
- AWSCloudWatch