'Logging hook called before a test iteration.'

@log.log_and_ignore_errors('pre-test    siteration    sysinfo    error:')
def log_before_each_iteration(self, test, iteration=None):

    if (not iteration):
        iteration = test.iteration
    logdir = self._get_iteration_subdir(test, iteration)
    for log in self.before_iteration_loggables:
        log.run(logdir)
