def _pretty_print(logger, application):
    logger.log("ID:           %s", application['id'].lstrip('/'))
    logger.log("CPUs:         %s", application['cpus'])
    logger.log("RAM:          %s", application['mem'])
    logger.log("Instances:    %s", application['instances'])
    logger.log("Docker Image: %s", application['container']['docker']['image'])
    logger.log("Version:      %s", application['version'])
    logger.log("Status:       %s", _app_status(logger, application))
    logger.log("")
    logger.log("Tasks:")
    for task in application['tasks']:
        logger.log("- ID:   %s", task['id'])
        for port in task['ports']:
            logger.log("  Host: %s:%d", task['host'], port)
Copies the body, in cases where it might be shared with
dataset/ETHPy150Open shopkeep/shpkpr/shpkpr/commands/cmd_show.py/_pretty_print--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webob-1.2.3/webob/request.py/BaseRequest.copy_body