<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_handler(cls, message_handler, buffer_size, logger):
 """ Class variables used here since the framework creates an instance for each connection :param message_handler: the MessageHandler used to process each message. :param buffer_size: the TCP buffer size. :param logger: the global logger. :return: this class. """

        cls.BUFFER_SIZE = buffer_size
        cls.message_handler = message_handler
        cls.logger = logger

        cls.message_handler.logger = logging.getLogger(message_handler.__class__.__name__)
        cls.message_handler.logger.setLevel(logger.level)
        return cls