def _get_existing_logger()

in src/cloudformation_cli_python_lib/log_delivery.py [0:0]


    def _get_existing_logger(cls) -> Optional["ProviderLogHandler"]:
        for handler in logging.getLogger().handlers:
            if isinstance(handler, cls):
                return handler
        return None