'Logs various stats for the currently running replication pass.'

def stats_line(self):

    if self.replication_count:
        elapsed = ((time.time() - self.start) or 1e-06)
        rate = (self.replication_count / elapsed)
        self.logger.info(_('%(replicated)d/%(total)d    (%(percentage).2f%%)    partitions    replicated    in    %(time).2fs    (%(rate).2f/sec,    %(remaining)s    remaining)'), {'replicated': self.replication_count, 'total': self.job_count, 'percentage': ((self.replication_count * 100.0) / self.job_count), 'time': (time.time() - self.start), 'rate': rate, 'remaining': ('%d%s' % compute_eta(self.start, self.replication_count, self.job_count))})
        self.logger.info((_('%(success)s    successes,    %(failure)s    failures') % self.stats))
        if self.suffix_count:
            self.logger.info(_('%(checked)d    suffixes    checked    -    %(hashed).2f%%    hashed,    %(synced).2f%%    synced'), {'checked': self.suffix_count, 'hashed': ((self.suffix_hash * 100.0) / self.suffix_count), 'synced': ((self.suffix_sync * 100.0) / self.suffix_count)})
            self.partition_times.sort()
            self.logger.info(_('Partition    times:    max    %(max).4fs,    min    %(min).4fs,    med    %(med).4fs'), {'max': self.partition_times[(-1)], 'min': self.partition_times[0], 'med': self.partition_times[(len(self.partition_times) // 2)]})
    else:
        self.logger.info(_('Nothing    replicated    for    %s    seconds.'), (time.time() - self.start))
