def get_logvar(name):
    """Return user-defined log variable contents.

    * http://uwsgi.readthedocs.io/en/latest/LogFormat.html#user-defined-logvars

    .. warning:: Bytes are returned for Python 3.

    :param str|unicode name:

    :rtype: bytes|str
    """
