Lines Matching full:levels
206 in differing circumstances. Say you want to log messages with levels of DEBUG
662 levels = (logging.DEBUG, logging.INFO, logging.WARNING, logging.ERROR, logging.CRITICAL)
674 lvl = choice(levels)
781 LEVELS = [logging.DEBUG, logging.INFO, logging.WARNING,
812 level = choice(LEVELS)
864 levels = [logging.DEBUG, logging.INFO, logging.WARNING, logging.ERROR,
869 lvl = random.choice(levels)
1483 and logs a hundred messages with random levels to randomly selected
1491 levels = [logging.DEBUG, logging.INFO, logging.WARNING, logging.ERROR,
1505 lvl = random.choice(levels)
2239 all the logging levels, writing to ``sys.stderr`` to say what level it's about
2241 parameter to ``foo`` which, if true, will log at ERROR and CRITICAL levels -
2242 otherwise, it only logs at DEBUG, INFO and WARNING levels.