<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def register_plugin(self, name):
 """Load and register a plugin given its package name."""

        logger.info("Registering plugin: " + name)
        module = importlib.import_module(name)
        module.register_plugin(self)