<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def set_log_format(self, log_type, log_format):
        '''Configures log format

        Arguments:
            log_type (:obj:`str`): log type (error, debug or stream)
            log_format (:obj:`str`): log format (ex:"Log: %(message)s | Log level:%(levelname)s |
                Date:%(asctime)s',datefmt='%m/%d/%Y %I:%M:%S")

        '''
        if not (log_type == 'error' or log_type == 'stream' or log_type == 'debug'):
            self.log.debug('Log type must be error, stream, or debug')
        else:
            self.default_formatter = logging.Formatter(log_format)
            if log_type == 'error':
                self.error_handler.setFormatter(self.default_formatter)
            elif log_type == 'debug':
                self.debug_handler.setFormatter(self.default_formatter)
            elif log_type == 'stream':
                self.stream_handler.setFormatter(self.default_formatter)