Skip to content

Logger

Source code in docs_src/capo_greengrass/types/logger.py
class Logger(TypedDict, closed=True):
    component: NotRequired["capo_greengrass.types.logger_component.LoggerComponent"]
    """The component that will be subject to logging."""
    id: NotRequired["capo_greengrass.types.__string.__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: NotRequired["capo_greengrass.types.logger_level.LoggerLevel"]
    """The level of the logs."""
    space: NotRequired["capo_greengrass.types.__integer.__integer"]
    """The amount of file space, in KB, to use if the local file system is used for logging purposes."""
    type: NotRequired["capo_greengrass.types.logger_type.LoggerType"]
    """The type of log output which will be used."""

component instance-attribute

component: NotRequired[LoggerComponent]

The component that will be subject to logging.

id instance-attribute

id: NotRequired[__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 instance-attribute

level: NotRequired[LoggerLevel]

The level of the logs.

space instance-attribute

space: NotRequired[__integer]

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

type instance-attribute

type: NotRequired[LoggerType]

The type of log output which will be used.