def log_files(logger, mesos_files, follow, lines):
    line_prefixes = _line_prefixes(mesos_files)
    fn = functools.partial(_read_last_lines, lines)
    mesos_files = _stream_files(logger, fn, mesos_files, line_prefixes)
    if not mesos_files:
        raise _no_file_exception()

    while follow:
        # This flush is needed only for testing, since stdout is fully
        # buffered (as opposed to line-buffered) when redirected to a
        # pipe.  So if we don't flush, our --follow tests, which use a
        # pipe, never see the data
        sys.stdout.flush()

        mesos_files = _stream_files(logger,
                                    _read_rest,
                                    mesos_files,
                                    line_prefixes)
        if not mesos_files:
            raise _no_file_exception()
        time.sleep(1)
Return a platform independent reprensentation of an array shape
dataset/ETHPy150Open shopkeep/shpkpr/shpkpr/files.py/log_files--crossover with--dataset/ETHPy150Open ibayer/fastFM/fastFM/validation.py/_shape_repr