def METHOD_NAME(self, record):
    newname = self.__log_filename(record.name)
    if newname:
        if newname not in self.__added:
            self.__added.add(newname)
            h = logging.FileHandler(filename=newname, **self.__kwargs)
            h.setLevel(self.__new_handler_level)
            h.setFormatter(self.formatter)
            logging.getLogger(record.name).addHandler(h)
            h.METHOD_NAME(record)
    super().METHOD_NAME(record)