def log_stats(self):
    """Print statistics into log."""
    logging.info('Validation statistics: ')
    for k, v in iteritems(self.stats):
      logging.info('%s - %d valid out of %d total submissions',
                   k, v[0], v[0] + v[1])
def log_stats ( self ) : logging . info ( 'Validation statistics: ' ) for k , v in iteritems ( self . stats ) : logging . info ( '%s - %d valid out of %d total submissions' , k , v [ 0 ] , v [ 0 ] + v [ 1 ] )
Print statistics into log.