def METHOD_NAME(self, file):
    for b_log in self.build_logs:
        log(b_log['str'],
            prefix=b_log['log_prefix'],
            file=file,
            color=Fore.YELLOW)
    self.build_logs = []