    def get_logger(cls, name=None):
        """
        Get the logger instance with the specified name. If it doesn't exist, create and cache it.

        Args:
            cls (type): The class type.
            name (str, optional): The name of the logger. Defaults to None, which uses the class name.

        Returns:
            logging.Logger: The logger instance.
        """
        if cls._logger is None:
            cls._logger = cls.init_logger(name)
        return cls._logger
Get the logger instance with the specified name. If it doesn't exist, create and cache it.

Args:
cls (type): The class type.
name (str, optional): The name of the logger. Defaults to None, which uses the class name.

Returns:
logging.Logger: The logger instance.
preprocessors/Emilia/utils/logger.py