Module aws_lambda_powertools.package_logger
Functions
def set_package_logger_handler(stream=None)
-
Sets up Powertools for AWS Lambda (Python) package logging.
By default, we discard any output to not interfere with customers logging.
When POWERTOOLS_DEBUG env var is set, we setup
aws_lambda_powertools
logger in DEBUG level.Parameters
stream
:sys.stdout
- log stream, stdout by default