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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb

Overview

Note:

When making an API call, you may pass Logger data as a 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

Returns:

  • (String)


3762
3763
3764
3765
3766
3767
3768
3769
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3762

class Logger < Struct.new(
  :component,
  :id,
  :level,
  :space,
  :type)
  include Aws::Structure
end

#idString

Element Id for this entry in the list.

Returns:

  • (String)


3762
3763
3764
3765
3766
3767
3768
3769
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3762

class Logger < Struct.new(
  :component,
  :id,
  :level,
  :space,
  :type)
  include Aws::Structure
end

#levelString

The level of the logs

Returns:

  • (String)


3762
3763
3764
3765
3766
3767
3768
3769
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3762

class Logger < Struct.new(
  :component,
  :id,
  :level,
  :space,
  :type)
  include Aws::Structure
end

#spaceInteger

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

Returns:

  • (Integer)


3762
3763
3764
3765
3766
3767
3768
3769
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3762

class Logger < Struct.new(
  :component,
  :id,
  :level,
  :space,
  :type)
  include Aws::Structure
end

#typeString

The type which will be use for log output

Returns:

  • (String)


3762
3763
3764
3765
3766
3767
3768
3769
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3762

class Logger < Struct.new(
  :component,
  :id,
  :level,
  :space,
  :type)
  include Aws::Structure
end