def loglines(logspath):
    """
    Read logging lines generated by a test case. 
    
    Parameters
    ----------
    logspath : str
        Path to which test case wrote logs.

    Returns
    -------
    Iterable of str
        Logs from the test case.

    """
    with open(logspath, 'r') as logfile:
        return logfile.readlines()