Module aws_lambda_powertools.package_logger

Expand source code
import logging


def set_package_logger_handler():
    logger = logging.getLogger("aws_lambda_powertools")
    logger.addHandler(logging.NullHandler())
    logger.propagate = False

Functions

def set_package_logger_handler()
Expand source code
def set_package_logger_handler():
    logger = logging.getLogger("aws_lambda_powertools")
    logger.addHandler(logging.NullHandler())
    logger.propagate = False