Set level of logging for all loggers.

        Args:
            level (int): level of logging.

def set_level(level):
        """
        Set level of logging for all loggers.

        Args:
            level (int): level of logging.
        """
        Logger.level = level
        for logger in Logger.loggers.values():
            logger.setLevel(level)