'Tee output to a full new set of debug logs in the given directory.'

def tee_redirect_debug_dir(self, debug_dir, log_name=None, tag=None):

    def add_handlers(context):
        if tag:
            self._add_tagging_formatter(tag)
            context['tag_added'] = True
        self.logging_config_object.add_debug_file_handlers(debug_dir, log_name=log_name)
    self._add_log_handlers(add_handlers)
