def _log_random(logger):
    classes = (logging.DEBUG, logging.INFO, logging.WARNING, logging.ERROR, logging.CRITICAL)
    for num in xrange(random.randint(0, 30)):
        logger.log(random.choice(classes), _random_paragraph(random.randint(10, 20)))
def _log_random(logger):
    classes = (logging.DEBUG, logging.INFO, logging.WARNING, logging.ERROR, logging.CRITICAL)
    for num in xrange(random.randint(0, 30)):
        logger.log(random.choice(classes), _random_paragraph(random.randint(10, 20)))